This message was deleted.
# general
m
This message was deleted.
r
The
aal
is a property of the sessions. In your app, when you resolve the session
.toSession()
, you can check if MFA has been applied and navigate the user accordingly. You could also consider privileged sessions for sensitive actions.
p
Thanks, this clears things up knowing that aal is attached to the session. I’m thinking that after the second factor is passed, that I could set a token in a cookie and use that as verification that the second factor has been passed for a given device. Is there any flaws with this approach? You guys are the security experts and though I’ve read a few books on it, I always welcome a second opinion.
r
Yes. You could extend sessions of ‘trusted devices’. Or force a refresh on all other devices.
👍 1