Comment on page
Integrate Passkeys
PassageJS is a client-side JavaScript library with methods and helper functions that make it easy to build passkeys into your app. These methods will show up frequently in this guide. It is recommended you familiarize yourself with the PassageJS docs here before jumping into this section. You will also use one of our backend SDKs to validate Passage tokens and exchange them for your app's session tokens. More on that later.
High-Level Steps
- 1.Configure PassageJS to be used in your application
- 2.Create a
TokenStore
to give Passage access to your app's legacy auth token, and allow a Passage JWT to be swapped for a legacy auth token on login. - 3.Create a “Register Passkey” step to your user registration flow and profile page.
- 4.Add a “Login with Passkey” step to your existing login flow.
Here are some complete examples for reference:
Last modified 22d ago