Re:Keycloak – Open-Source Identity and Access Management Int...
by benoliver999 on Monday June 19, 2023 @03:59AM
(#36388469)
I like this solution and use it on a system where MFA is not an option, and people log into it very infrequently.
Initially people told me to use a login link or 'magic link'. However it quickly became clear that they also wanted to receive the code on a different device to the one they logged in with.
You're not alone. I take it a step further and don't deal with passwords. I use login through email, in which I send a nonce to the user's email. The users enter that nonce to log in. This is what many online bank apps do. That reduces the security surface area to CSRF, securing cookies and session expiry. Most popular frameworks should handle that part of it.