lemon-apartment-14887
09/12/2023, 10:44 AMmethods:
totp:
enabled: true
config:
issuer: Ory Demo
session:
whoami:
required_aal: highest_available
But now, users can normally sign-in/sign-up via OIDC and are never prompted to link the TOTP app. Why is TOTP not enabled?
Based on the information in the docs, it should be enabled by now.stale-queen-97584
09/12/2023, 11:43 AMf2a
?
It doesn't seem logical to do this on the front-end, right?
ory.frontend
.createBrowserLoginFlow({
refresh: Boolean(refresh),
aal: aal ? String(aal) : undefined,
returnTo: returnTo ? String(returnTo) : undefined,
})
stale-queen-97584
09/12/2023, 1:29 PMf2a
isn't "forced", but happens on request. So you can ask a user to fill in their f2a. For example, after logging in, you want to check if the user has faa2
and if they don't, you can redirect them and let them fill it inlemon-apartment-14887
09/13/2023, 1:49 PMstale-queen-97584
09/13/2023, 2:16 PMstale-queen-97584
09/13/2023, 2:17 PMlemon-apartment-14887
09/13/2023, 2:19 PMstale-queen-97584
10/27/2023, 8:13 AMwhoami
and settings
page. It's the same concept - the API checks whether the user needs 2fa. This results in the whoami
giving a 403 when the user isn't authenticated with 2fa