function authenticateWithJWT(options?: { idempotencyKey?: string;}): Promise<AuthenticateWithJWTResult>;
Authenticates an end user using a developer-issued JWT from a third-party identity provider
(e.g., Auth0, Firebase, Cognito, custom OIDC).This function validates the JWT, auto-creates the user if they don’t exist, and provisions
wallets based on your configuration.
Parameters
Parameter
Type
Description
options?
{ idempotencyKey?: string; }
Optional options for the authentication.
options.idempotencyKey?
string
Optional idempotency key for safe retries. Important: Before using this function, you must: 1. Configure custom auth in the CDP Portal (JWKS endpoint, issuer, etc.) 2. Provide a customAuth.getJwt callback in your config to handle JWT refresh