@descope/core-js-sdk
v2.33.0
Published
Descope JavaScript core SDK
Downloads
218,893
Readme
@descope/core-js-sdk
Descope JavaScript core SDK
Usage
Install the package
npm install @descope/core-js-sdk
Use it
import createSdk from '@descope/core-js-sdk';
const projectId = '<project-id>';
const sdk = createSdk({ projectId });
const loginId = 'loginId';
sdk.otp.signIn.email(loginId);