Make the passkey endpoints well-known URL a part of your passkey implementation

[ad_1]


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 sort of cryptographic credential that leverages FIDO2 and WebAuthn to supply an authentication mechanism that’s phishing-resistant, consumer pleasant, easy to implement, and safer than password-based authentication. Most main working methods and browsers now characteristic full passkey assist. 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 as we speak.

As you implement passkeys in your app or net service, take a second to implement a passkey endpoints well-known URL.

This can be a standardized solution to promote your assist for passkeys and optimize consumer expertise. This well-known URL will permit third social gathering companies like password managers, passkey suppliers, and different safety instruments to direct customers to enroll and handle their passkeys for any website that helps them. You should 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 device utilization has been steadily rising, and we anticipate most suppliers will combine passkey administration as effectively. You possibly can permit third social gathering instruments and companies to direct your customers to your devoted passkey administration web page by implementing the passkey-endpoints well-known URL.

The perfect half is that generally you may implement this characteristic in two hours or much less! All you should do is host a easy schema in your website. Take a look at the instance under:

  1. For an online service at https://instance.com, the well-known URLwould be https://instance.com/.well-known/passkey-endpoints
  2. When the URL is queried, the response ought to use the next schema:
{
"enroll": "https://instance.com/account/handle/passkeys/create",
"handle": "https://instance.com/account/handle/passkeys"
}

Be aware: You possibly can resolve the precise worth of the URLs for each enroll and handle based mostly in your web site’s personal configuration.

When you have a cell app, we strongly advocate 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 can preserve your customers centered and on observe to enroll into passkeys.

And that’s it!

Additional particulars and examples will be discovered within the passkey endpoints well-known URL explainer.


[ad_2]

Leave a comment