You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have implemented an ory/kratos login and registration setup using ory elements. The registration requires verification of email with a code, using the standard flow.
In order to prevent unverified accounts from accessing other subdomains I am checking for session.identity?.verifiable_addresses and redirecting to the verification page if the address hasn't been verified. That all works fine.
I have however one UX concern. Whenever the user is redirected like that to the verification flow (/verification) he is required to enter his email once more before accessing the code input section of the flow. Would it be possible to read the email from the session cookie and either skip to the code part immediately or at least fill the input field with that email immediately?
Thanks for any help!
(skip this section or fill the input automatically if session exists)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have implemented an ory/kratos login and registration setup using ory elements. The registration requires verification of email with a code, using the standard flow.
In order to prevent unverified accounts from accessing other subdomains I am checking for session.identity?.verifiable_addresses and redirecting to the verification page if the address hasn't been verified. That all works fine.
I have however one UX concern. Whenever the user is redirected like that to the verification flow (/verification) he is required to enter his email once more before accessing the code input section of the flow. Would it be possible to read the email from the session cookie and either skip to the code part immediately or at least fill the input field with that email immediately?
Thanks for any help!
(skip this section or fill the input automatically if session exists)
Beta Was this translation helpful? Give feedback.
All reactions