KEYCLOAK-16916 Adding WebAuthn to the account console (#61)
This commit is contained in:
parent
28157a1cd3
commit
5ccf8699a2
4 changed files with 54 additions and 1 deletions
Binary file not shown.
After Width: | Height: | Size: 59 KiB |
Binary file not shown.
After Width: | Height: | Size: 64 KiB |
|
@ -26,7 +26,9 @@ image:images/account-console-intro.png[Account Console]
|
|||
|
||||
=== Configure ways to sign in
|
||||
|
||||
You can sign in to this console using basic authentication (a login name and password) or two-factor authentication. For two-factor authentication, use this procedure.
|
||||
You can sign in to this console using basic authentication (a login name and password) or two-factor authentication. For two-factor authentication, use one of the following procedures.
|
||||
|
||||
==== Two-factor authentication with OTP
|
||||
|
||||
.Prerequisites
|
||||
|
||||
|
@ -52,6 +54,56 @@ image:images/account-console-signing-in.png[Signing In]
|
|||
|
||||
. Respond to the prompt by entering an OTP that is provided on your mobile device.
|
||||
|
||||
==== Two-factor authentication with WebAuthn
|
||||
|
||||
.Prerequisites
|
||||
|
||||
* WebAuthn is a valid two-factor authentication mechanism for your realm. Please follow the <<_webauthn,WebAuthn section>> for more details.
|
||||
|
||||
.Procedure
|
||||
|
||||
. Click *Account Security* in the menu.
|
||||
|
||||
. Click *Signing In*.
|
||||
|
||||
. Click *Set up Security Key*.
|
||||
+
|
||||
.Signing In
|
||||
image:images/account-console-signing-in-webauthn-2factor.png[Signing In With Security Key]
|
||||
|
||||
. Prepare your WebAuthn Security Key. This depends on the type of WebAuthn security key how exactly to do it. For example for USB based Yubikey, you may need to put your key into the USB port on your laptop.
|
||||
|
||||
. Click *Register* to register your security key. Follow the directions that appear on the screen for setup your Security Key.
|
||||
|
||||
. Log out and log in again.
|
||||
|
||||
. Assuming authentication flow was correctly set, You should be asked to authenticate with your Security Key as second factor.
|
||||
|
||||
==== Passwordless authentication with WebAuthn
|
||||
|
||||
.Prerequisites
|
||||
|
||||
* WebAuthn is a valid passwordless authentication mechanism for your realm. Please follow the <<_webauthn_passwordless,Passwordless WebAuthn section>> for more details.
|
||||
|
||||
.Procedure
|
||||
|
||||
. Click *Account Security* in the menu.
|
||||
|
||||
. Click *Signing In*.
|
||||
|
||||
. Click *Set up Security Key* in the *Passwordless* section.
|
||||
+
|
||||
.Signing In
|
||||
image:images/account-console-signing-in-webauthn-passwordless.png[Signing In With Security Key]
|
||||
|
||||
. Prepare your WebAuthn Security Key. This depends on the type of WebAuthn security key how exactly to do it. For example for USB based Yubikey, you may need to put your key into the USB port on your laptop.
|
||||
|
||||
. Click *Register* to register your security key. Follow the directions that appear on the screen for setup your Security Key.
|
||||
|
||||
. Log out and log in again.
|
||||
|
||||
. Assuming authentication flow was correctly set, You should be asked to authenticate with your Security Key as passwordless factor. Hence you may not even provide your password for the login.
|
||||
|
||||
=== Viewing device activity
|
||||
|
||||
You can view the devices that are logged in to your account.
|
||||
|
|
|
@ -182,6 +182,7 @@ they are required to register their WebAuthn authenticator automatically :
|
|||
- When the users log in, they are required to register their WebAuthn authenticator.
|
||||
- After successful registration, the user's browser asks the user to enter the text as their just registered WebAuthn authenticator's label.
|
||||
|
||||
[[_webauthn_passwordless]]
|
||||
==== Passwordless WebAuthn together with Two-Factor
|
||||
|
||||
WebAuthn is often used for two-factor authentication, however it can be desired to use it also as first factor authentication. In this case,
|
||||
|
|
Loading…
Reference in a new issue