Securely enroll webauthn device #14085
-
Hi everyone, Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Unless an administrator pre-configures said 2FA device there is no easy way to facilitate this and it is not customary to do so unless in an incredibly highly restricted environment. The easier alternative is to force users to register a WebAuthn device as soon as possible. You can even write a flow with an expression policy so it only requires the 2FA setup for certain users (f.e. those with high privileges). If you really do need to have every user registered with a WebAuthn device instantly I suggest restricting login using an expression policy to users that have a device enrolled. This way an authentik administrator could add an authenticator by impersonating the user through authentik's built-in impersonation feature and add their authenticator. |
Beta Was this translation helpful? Give feedback.
-
Thank you, it makes sense. |
Beta Was this translation helpful? Give feedback.
Unless an administrator pre-configures said 2FA device there is no easy way to facilitate this and it is not customary to do so unless in an incredibly highly restricted environment.
The easier alternative is to force users to register a WebAuthn device as soon as possible.
To facilitate this just add an
Authenticator Validation Stage
to your authorization- (or even authentication-) flow withNot configured action
set toForce the user to configure an authenticator
.You can even write a flow with an expression policy so it only requires the 2FA setup for certain users (f.e. those with high privileges).
(To do this,…