fancy-evening-36350
12/26/2024, 11:32 AM/self-service/settings/browser
with a aal1
session, and my user did not setup MFA yet.
My current config looks like this
selfservice:
flows:
settings:
required_aal: highest_available
# ...
session:
whoami:
required_aal: aal1
According to this documentation I understand that I should be able to load the settings flow with a aal1
session while MFA is not setup. Can you help me understand what's going on ?
My project id is 37f4eaf2-c2f2-46da-ba16-e1e1e4fc8c1c
bland-eye-99092
12/27/2024, 10:17 AMfancy-evening-36350
12/30/2024, 3:50 PM{
"error": {
"id": "session_aal2_required",
"code": 403,
"status": "Forbidden",
"reason": "An active session was found but it does not fulfill the requested Authenticator Assurance Level. Please verify yourself with a second factor to resolve this issue.",
"details": {
"redirect_browser_to": "<http://localhost:4200/self-service/login/browser?aal=aal2>"
},
"message": "Session does not fulfill the requested Authenticator Assurance Level"
},
"redirect_browser_to": "<http://localhost:4200/self-service/login/browser?aal=aal2>"
}
It says that session does not fulfill the requested AAL, but I'm using an account that did not setup MFA yetfancy-evening-36350
12/30/2024, 3:52 PMbland-eye-99092
01/02/2025, 11:34 AMfancy-evening-36350
01/02/2025, 11:47 AMbland-eye-99092
01/02/2025, 12:04 PMfancy-evening-36350
01/02/2025, 3:50 PM{
"$schema": "<http://json-schema.org/draft-07/schema#>",
"$id": "<https://schemas.ory.sh/presets/kratos/identity.email.schema.json>",
"title": "Person",
"type": "object",
"properties": {
"traits": {
"type": "object",
"properties": {
"first_name": {
"title": "First Name",
"type": "string"
},
"last_name": {
"title": "Last Name",
"type": "string"
},
"email": {
"type": "string",
"format": "email",
"title": "E-Mail",
"<http://ory.sh/kratos|ory.sh/kratos>": {
"credentials": {
"password": {
"identifier": true
},
"webauthn": {
"identifier": true
},
"totp": {
"account_name": true
}
},
"recovery": {
"via": "email"
},
"verification": {
"via": "email"
}
},
"maxLength": 320
},
"phoneNumber": {
"type": "string",
"format": "tel",
"title": "Phone Number",
"<http://ory.sh/kratos|ory.sh/kratos>": {
"credentials": {
"code": {
"identifier": true,
"via": "sms"
}
},
"verification": {
"via": "sms"
}
}
},
"preferences": {
"type": "object",
"properties": {
"locale": {
"type": "string",
"title": "Locale",
"enum": [
"en",
"fr"
]
},
"theme": {
"type": "string",
"title": "Theme",
"enum": [
"light",
"dark",
"system"
]
}
},
"required": [
"locale",
"investorAppMode"
],
"additionalProperties": false
},
"referralCode": {
"title": "Referral code",
"type": "string"
}
},
"required": [
"first_name",
"last_name",
"email",
"preferences"
],
"additionalProperties": false
}
}
}
bland-eye-99092
01/02/2025, 5:18 PMfancy-evening-36350
01/03/2025, 11:21 AM