handsome-agency-20541
08/11/2025, 1:00 PMearly-magician-18981
08/11/2025, 4:23 PMhandsome-agency-20541
08/11/2025, 5:44 PM/self-service/login/browser?aal=aal2
, I would be happy to, but Iām authenticating users through OIDC (Hydra), and I see no means to force Hydra to start a login flow with aal=all2
. Any tips on how to do that?early-magician-18981
08/11/2025, 5:48 PMhandsome-agency-20541
08/12/2025, 2:46 PMaal=aal2
parameter from a login redirect just as easily as we add it.
Perhaps, I couldāve used a login webhook to raise the requested_aal
in a login flow, but as far as I see there is no admin API to modify a flow.
Another option with webhooks is to trigger a validation āfailureā if we infer that a user is using just a password with OIDC, however the UX of it would be very bad ā itās limited to adding a red text under a specified UI field, and thatās it.
There is, of course, an option to look for something like "amr":["password"]
in the userinfo when handling an OIDC callback and reject this call, but that would mean writing Ory-specific tweaks in otherwise standard flow.
If we look at Okta, for example, there are authentication policies, which can be assigned to āappsā (OIDC clients) and apply regardless of what comes from the frontend.early-magician-18981
08/12/2025, 6:33 PMhandsome-agency-20541
08/12/2025, 6:36 PMearly-magician-18981
08/12/2025, 7:10 PMhandsome-agency-20541
08/13/2025, 1:53 PMearly-magician-18981
08/13/2025, 2:00 PM