To integrate your authentication provider with Privy:

  1. Go to the Privy Dashboard
  2. Select your app from the App Dropdown in the left sidebar
  3. Request access to Custom Auth Support in the Integrations > Plugins tab of the Privy dashboard
  4. Navigate to the JWT Dashboard via User management > Authentication > JWT-based auth

You’ll need to provide the following information:

JWT Verification Details
required

Privy requires a verification key to ensure the JWTs received are valid. Both the token’s signature and its expiration time (claim) are verified to ensure secure access. This verification process helps protect user data and prevents unauthorized access to Privy services.

You can provide the verification key in one of two ways:

JWT ID Claim
default:"sub"

Enter the claim from your user’s JWT that contains the user’s unique ID. In most access tokens and identity tokens, this is the claim.