Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@coveo/auth
Advanced tools
Functions to help authenticate with the Coveo platform.
npm i @coveo/auth
Configure a SAML authentication provider on your organization.
Inside your web application, instantiate the SAML client in this package.
import {buildSamlClient} from '@coveo/auth`;
const organizationId = '<organization id>';
const provider = '<configured SAML auth provider name>';
async function main() {
const saml = buildSamlClient({organizationId, provider});
const accessToken = await saml.authenticate();
console.log(accessToken);
}
main();
@coveo/headless
import {buildSamlClient} from '@coveo/auth`;
import {buildSearchEngine} from '@coveo/headless`;
async function main() {
const saml = buildSamlClient(...);
const accessToken = await saml.authenticate();
const engine = buildSearchEngine({
configuration: {
organizationId,
accessToken,
renewAccessToken: saml.authenticate,
},
});
}
main()
@coveo/headless
and React
SamlClientOptions
organizationId: string
The unique identifier of the target Coveo Cloud organization (e.g., mycoveoorganization8tp8wu3
).
provider: string
The SAML authentication provider name (e.g., oktaA323aab78b9f1-45b5-a095-a1f0fa09ddd5
).
platformOrigin?: string
The Coveo origin to authenticate through.
Default value is https://platform.cloud.coveo.com
.
FAQs
Functions to help authenticate with the Coveo platform.
The npm package @coveo/auth receives a total of 407 weekly downloads. As such, @coveo/auth popularity was classified as not popular.
We found that @coveo/auth demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.