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:1
Navigate to Security Settings
In your OwnID Console, go to Integration > Security section for your application.
2
Generate Signing Key
Under the Signing Key section, click the “Generate a new key” button.
3
Confirm Key Generation
A confirmation dialog will appear warning about key invalidation. Click “Continue” to proceed with generating the new key pair.
4
Copy Private Key
Once generated, a modal will display your new RSA private key. Copy the entire private key including the
-----BEGIN RSA PRIVATE KEY----- and -----END RSA PRIVATE KEY----- markers.This is the only time you’ll be able to view the private key. Store it securely!
Step 2 - Backend Implementation
Implement a backend endpoint to generate a signed JWT enrollment token that authorizes the passkey enrollment session.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