This feature allows users to enroll passkeys after they have successfully logged into the application using traditional authentication methods.Documentation Index
Fetch the complete documentation index at: https://docs.ownid.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The enrollment process consists of two main components:- Step 1: Obtain your Private Key
- Step 2: Build an endpoint for JWT token generation
- Step 3: Passkey enrollment via OwnID SDK
Step 1 - Obtaining the Private Key
To generate the required RSA private key for JWT signing, follow these steps in the OwnID Console:Navigate to Security Settings
In your OwnID Console, go to Integration > Security section for your application.
Confirm Key Generation
A confirmation dialog will appear warning about key invalidation. Click “Continue” to proceed with generating the new key pair.
Step 2 - Backend Implementation
Implement a backend endpoint to generate a signed JWT enrollment token that authorizes the passkey enrollment session.Unique token identifier
Token issued at timestamp (Unix timestamp)
Token expiration timestamp (15 minutes from iat)
Issuer (website URL)
Audience (same as issuer)
Subject (user email with “Email:” prefix)
Session creation authorization details
Step 3 - Frontend Implementation
- Ensure OwnID SDK is properly initialized with your application’s configuration before calling the enrollment function.
- We recommend you to trigger the Passkeys enrollment UI on the next page load after login.
Next Steps
Ready to deploy?
YES!
Take me to the Deployment Checklist
NOT YET...
I want to build another user journey