Hi; Can you confirm the email-verification step is...
# support-questions-legacy
c
Hi; Can you confirm the email-verification step is done explicitely after the signup promise resolution; in a non blocking way ? That's important to us, as we modified the signup, which now includes an internal db transaction to create a user in our database. This user is not "visible" outside of the transaction before it resolves; and later we might "find" this user before sending the verification email (we also override the email send).
r
hey @Chimanos yes that is correct. For login methods which do not already verify emails, first the sign up and session creation process is completed, and only after that the user is sent into the email verification flow. For other login methods like sign in with google, passwordless, where the email is already verified during user creation, we first create the user -> mark their email as verified -> create a session.
c
Alright, thanks 🙂
I gave a look into userContext (to pass the (internal database) user from signup to email-verification recipe); but I confess I didn't understand anything from there lol. I might stick to re-find the user for now
r
the user context is per API call
since the email verification is a different API call than the sign up one, the userContext modification is lost
6 Views