wooden-manchester-52124
10/24/2024, 8:22 PMbrief-egg-61061
10/24/2024, 8:22 PMbrief-egg-61061
10/24/2024, 8:22 PMwebauthn
group c. User enters their identifier (e.g., email or username) d. The form is submitted, starting a new flow with the webauthn
group e. Render the new UI prompting the user to use their security key or biometric f. User authenticates using their device or external authenticator 3. After successful authentication, Ory will issue a session token without requiring a password. To integrate this into your application, you'll need to include the Ory WebAuthn JavaScript in your page: html <head> <script src="/.well-known/ory/webauthn.js"></script> </head>
[As mentioned in the documentation](https://www.ory.sh/docs/kratos/bring-your-own-ui/custom-ui-advanced-integration#passwordless-authentication), this script provides the necessary handlers for initiating the passwordless authentication flow. It's worth noting that the specific API endpoints for exchanging session tokens (exchangeSessionToken
and toSession
) [do not require authentication themselves](https://www.ory.sh/docs/reference/api), which aligns with the passwordless flow. By implementing this passwordless authentication method, you can issue session tokens for users through an API-based flow without requiring a traditional password.