Posted by Amy Zeppenfeld – Developer Relations Engineer
Passkeys are main the cost in direction of a safer future with out passwords. Passkeys are a brand new kind of cryptographic credential that leverages FIDO2 and WebAuthn to offer an authentication mechanism that’s phishing-resistant, consumer pleasant, easy to implement, and safer than password-based authentication. Most main working programs and browsers now function full passkey help. Passkeys are anticipated to interchange passwords because the predominant authentication mechanism within the not-too-distant future, and builders are suggested to start implementing passkey-enabled authentication options right this moment.
As you implement passkeys in your app or net service, take a second to implement a passkey endpoints well-known URL.
It is a standardized strategy to promote your help for passkeys and optimize consumer expertise. This well-known URL will permit third occasion providers like password managers, passkey suppliers, and different safety instruments to direct customers to enroll and handle their passkeys for any web site that helps them. You need to use app-links or deep linking with the passkey-endpoints well-known URL to permit these pages to open immediately in your app.
Password administration instrument utilization has been steadily rising, and we anticipate most suppliers will combine passkey administration as effectively. You’ll be able to permit third occasion instruments and providers to direct your customers to your devoted passkey administration web page by implementing the passkey-endpoints well-known URL.
One of the best half is that most often you’ll be able to implement this function in two hours or much less! All you’ll want to do is host a easy schema in your web site. Try the instance beneath:
- For an online service at https://instance.com, the well-known URLwould be https://instance.com/.well-known/passkey-endpoints
- When the URL is queried, the response ought to use the next schema:
{ |
Observe: You’ll be able to determine the precise worth of the URLs for each enroll and handle primarily based in your web site’s personal configuration.
When you have a cell app, we strongly suggest using deep linking to have these URLs open the corresponding display screen for every exercise immediately in your app to “enroll” or “handle” passkeys. This may hold your customers centered and on monitor to enroll into passkeys.
And that’s it!
Additional particulars and examples could be discovered within the passkey endpoints well-known URL explainer.