doc/auth/passkeys.md
{{< details >}}
{{< /details >}}
{{< history >}}
passkeys.
Disabled by default on GitLab Self-Managed.{{< /history >}}
Passkeys provide a secure and convenient way to sign in to your GitLab account without using passwords. Passkeys offer phishing-resistant sign-in while protecting users from weak password vulnerabilities and credential breaches.
Passkeys use public-key cryptography to authenticate you securely to GitLab. When you create a passkey:
This approach ensures that if GitLab servers are compromised, attackers cannot use your passkey to access your account.
To view information about your registered passkeys, including the passkey name, device type, and usage details:
Prerequisites:
To add a passkey:
To sign in to GitLab with a passkey, instead of a password:
Go to the GitLab sign-in page.
https://gitlab.com/users/sign_in.https://gitlab.example.com/users/sign_in.Under the additional sign-in options, select Passkey.
Follow the prompts on your device to authenticate using your fingerprint, face recognition, or device PIN.
If you have enabled two-factor authentication (2FA) for your account, passkeys become available as an additional and default 2FA option.
To use a passkey as a 2FA method:
Go to the GitLab sign-in page.
https://gitlab.com/users/sign_in.https://gitlab.example.com/users/sign_in.Enter your username and password.
When prompted, authenticate with your passkey.
Follow the prompts on your device to authenticate using your fingerprint, face recognition, or device PIN.
[!note] If your passkey is unavailable on the current device, use your backup 2FA method instead.
Delete a passkey if you no longer use the device, or if you want to replace it with a new passkey. If you delete your only passkey, GitLab will also disable passkey sign-in for your account.
To delete a passkey:
In the upper-right corner, select your avatar.
Select Edit profile.
In the left sidebar, select Access > Password and authentication.
In the Passkey sign-in section, find the passkey you want to delete.
Next to the passkey, select Delete ({{< icon name="remove" >}}).
On the confirmation dialog, confirm the deletion.
[!warning] Deleted passkeys cannot be recovered. You must add a new passkey if you want to authenticate with the device again.
If you cannot add a passkey:
If the device is already registered as a WebAuthn two-factor authentication method:
If you cannot sign in using your passkey:
If you lose your device or get a new one, sign in with your password and set up a new passkey.
To set up a passkey on your new device: