Passwordless

> Less passwords, more security!

Banner


Sign in with…

Passwordless.ID is a public identity provider that can be used out-of-the-box, compatible with OAuth2 and OpenID.

passwordless-openid-diagram

Try it out!

For a straightforward and smooth integration, you can use the @passwordless-id/connect library. This library makes it possible to trigger the authentication/authorization using a single call.


banner

Your fingerprint/face never leaves your device

The biometric verification uses the local authentication mechamism from your device. On the device, these biometric information is strongly protected and never exposed.

The verification is a safety measure used to prove you are you, then create or access cryptographic keys stored on your device. These keys, also known as passkeys, are in turn used for the authentication mechanism.


banner

More secure than passwords

It is basically two factor authentication in a single step.

The combination of both is required in order to authenticate the user.


banner

You can choose not to use fingerprint/face

The user verification is delegated to your platform. If you are uncomfortable with such a mechanism, you can still use a PIN, a password, a swipe pattern configured, or whatever is configured on your device as a local authentication mechanism.


banner

It protects you from phishing

Phishing usually involves the user into typing its password into a fake website, or other approaches like social engineering. It is the most common way to hack accounts.

By getting rid of passwords, you get rid of phishing! Great, right?

Moreover, it also protects against further security threats like password reuse and even data breaches! It is one of the most secure mechanisms available.


banner

How does it work exactly?

The authentication relies on a recent browser protocol called WebAuthn, which is based on asymmetric cryptography.

Upon registration, a cryptographic key pair is generated for the user. The private key is stored on the device, protected by local authentication, while the public key is sent to the server.

When a user wants to authenticate themselves, they must sign a random “challenge” using their private key. This signature is sent to the server, which verifies it using the user’s public key.


banner

By developers, for developers

One of the goals of this project is to make it as simple to use as possible. You can use this form of authentication for your website right now and effortlessly. This is a public identity provider, so not even an account is necessary.

To authenticate and authorize, a single redirect is required.

<a href="https://api.passwordless.id/openid/authorize?scope=avatar">Sign In</a>

Once the user has signed in and granted the access rights, it will be redirected back to the origin.

Likewise, a single request is enough to optain the user profile.

const res = await fetch("https://api.passwordless.id/openid/userinfo")
if(res.ok)
    alert(await res.json()) // shows profile
else if(res.status === 401)
    alert('Please login first')
else if(res.status === 403)
    alert('Access denied by the user')

Check out the user guide for more details.


banner

OAuth2 / OpenID compatible

Passwordless.ID is compatible with both OAuth2 and OpenID protocols. That way, you can use it as a generic OpenID provider for a “Sign in with…” button.

If you are familiar with OAuth, you probably know that it is an “authorization” protocol. Usually, the API also offer a set of operations to grant permission to. In the case of Passwordless.ID, the only operation is accessing (part of) the user profile.

If you want to add Passwordless.ID as an additional social login provider using some predefined library, check out our OAuth2/OpenID guide!


What if I lose my device?

Unlike traditional authentication systems that can be accessed from anywhere using a single password, authentication here is device bound. Losing a device means losing the private key used to sign in.

That is why Passwordless.ID allows registering multiple devices per user. It is both more convenient and safer.

The user can also choose the recovery options it may accept, or how it authorizes registering a new device through another registered device, SMS or email. Email is convenient, but less secure.

Likewise, if your device is stolen or has a risk of being compromised, it can be blocked.


The vision

“Passwordless.ID” is meant to be a “free public identity provider” with the following philosophy.

This is achieved by providing tools and services to delegate the authentication to the Passwordless.ID API.


If you like it, share it!

This was made with love, sweat and considerate thoughts. We strive to make the best possible authentication experience and are glad to hear any feedback.

If you like it too, talk about it to others! Share it with someone! Every little act is of great help to make it succeed. Thank you!

In the case you plan to write a blog article, a tutorial, some news or anything alike, we would be glad to hear from you. Perhaps we can feature it on our blog!