Replies: 1 comment 1 reply
-
|
I was also looking into this recently. There are instructions for this at https://www.ory.com/docs/kratos/hooks/configure-hooks#available-actions, see the require_verified_address action. #3320 has an example config and highlights an issue I'm facing where upon registration with a password, the user is logged without being prompted for a verification code but subsequent login attempts require the code. I haven't found a workaround except to remove |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to make an identity registration flow do an email address verification before the registration completes (like by suspending creation of the identity or creation of the session until after the email address is verified)?
I'm brand new to Kratos, and maybe I'm missing something, but I am having trouble believing that natively doing verification before registration is finalized is impossible. Most other identity management systems have this option.
So much can go wrong by creating the identity and issuing the session before the email address is verified (for example, what if the user has to recover access to their identity but they mistyped their email address at the time of registration). And I really don't want to force the user to have to log in after registration in order to guarantee the verification before they are issued a session.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions