Hi everyone,
I’m working on a mobile application using Universal Login (New Experience), and I’m trying to determine whether it’s possible to dynamically enable or disable WebAuthn (device biometrics) per user based on a flag stored in user_metadata (or via any other supported mechanism).
Desired Behavior
We would like the flow to work as follows:
-
User logs in for the first time (username + password).
-
User enrolls in MFA.
-
User is prompted to enable WebAuthn (webauthn-platform).
-
User logs out.
On the next login:
-
User enters their username.
-
If biometrics are enabled, the user can authenticate using WebAuthn only.
- We are currently skipping MFA via a Post-Login Action when WebAuthn is used.
Later:
-
The user disables “biometric login” in their profile settings inside the app.
- This updates a flag in
user_metadata, e.g.biometric_enabled = false.
- This updates a flag in
-
User logs out.
On the following login:
-
User enters their username.
-
WebAuthn should NOT be requested.
-
Standard login + MFA should be required again.
Based on this example, could you please clarify if it is possible to dynamically control WebAuthn availability per user (based on metadata) when using Universal Login?
Thank you!