Bring Your Own Auth (BYOA) is an enterprise feature. Contact us in Slack or at [email protected] to enable it.
Prerequisites
- BYOA configured in your Dynamic dashboard (issuer, JWKS URL).
- Before this: create and initialize a Dynamic client (see Creating a Dynamic Client, Initializing the Dynamic Client).
- Your backend issues a JWT with at least
iss,sub, andexpclaims.
Usage
CallsignInWithExternalJwt with the JWT issued by your auth provider. Dynamic verifies the signature against your configured JWKS URL, validates the claims, and establishes a session.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
externalJwt | string | Yes | The raw encoded JWT issued by your authentication provider. |
externalUserId | string | Yes | The user ID in your authentication system. Must match the sub claim in the JWT — Dynamic derives the stored external user ID from the JWT server-side. |
Related
- Bring Your Own Auth — Concepts, configuration, and JWT requirements.
- External auth step-up — Issue elevated access tokens from your backend for sensitive actions.