
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
@descope/core-js-sdk
Advanced tools
Descope JavaScript core SDK
npm install @descope/core-js-sdk
import createSdk from '@descope/core-js-sdk';
const projectId = '<project-id>';
const sdk = createSdk({ projectId });
const loginId = 'loginId';
sdk.otp.signIn.email(loginId);
Connect to outbound applications (e.g., Google, Microsoft) to access user data from external services.
// Connect to an outbound application
const response = await sdk.outbound.connect('app-id', {
redirectUrl: 'https://your-app.com/callback',
scopes: ['email', 'profile'],
});
// Redirect user to the returned URL
window.location.href = response.data.url;
You can pass an external identifier to map the outbound connection to an external user:
const response = await sdk.outbound.connect('app-id', {
redirectUrl: 'https://your-app.com/callback',
scopes: ['email', 'profile'],
externalIdentifier: 'external-user-id-123',
});
For multi-tenant applications, you can specify tenant-level connections:
const response = await sdk.outbound.connect('app-id', {
redirectUrl: 'https://your-app.com/callback',
scopes: ['email', 'profile'],
externalIdentifier: 'external-user-id-123',
tenantId: 'tenant-123',
tenantLevel: true,
}, 'user-session-token');
FAQs
Descope JavaScript core SDK
The npm package @descope/core-js-sdk receives a total of 266,798 weekly downloads. As such, @descope/core-js-sdk popularity was classified as popular.
We found that @descope/core-js-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.