Skip to Content
DocumentationDemonstrationStep-up AuthStep 2: Load the SDK (CDN or npm)

Step 2: Load the SDK (CDN or npm)

⏱ 2 min

Step-up MFA uses the same SDK as Passkey-first Login. Load it once with CDN or npm — then call openAuthIdpModal from the next step.


Already set up?

If you completed Passkey-first Login — Step 2 in this project, skip ahead to Step 3: Open the MFA modal.


CDN (quick reference)

Authentication Toolkit:

<script type="module" src="https://cdn.transcodes.link/{YOUR_PROJECT_ID}/webworker.js" ></script>

PWA — manifest + webworker.js + sw.js in public/. Full steps: Passkey-first Login — Step 2.


npm (quick reference)

npm install @bigstrider/transcodes-sdk
import { init } from '@bigstrider/transcodes-sdk'; await init({ projectId: 'YOUR_PROJECT_ID' });

Then import openAuthIdpModal (and related APIs) from the same package. Details: Quick Integration.


What’s next

Last updated on