If your app uses Privy as your authentication provider, you can skip this step.

In order to issue user keys for users, the Privy API must verify the user’s access token to ensure that the authenticated user is the party making the request for the user key.

To verify a user’s access token, Privy requires that your app register details of your authentication setup in the Privy Dashboard. Namely:

  1. Get your JWKS.json endpoint from your authentication provider (e.g. Auth0, Firebase, Stytch). Privy will use this endpoint to verify access tokens for your users.
  2. In the Authentication page of the Configuration section of the Privy Dashboard, enable JWT-based authentication.
  3. Once JWT-based authentication has been enabled, register the JWKS.json endpoint from your authentication provider and the name of the JWT claim that specifies the user’s ID (typically sub).

Privy can now verify access tokens issued by your authentication provider to authenticate users, and issue user keys for users.

Next, follow the guide to request user keys for your users.