Latest update broke `emailAndPassword: {autoSignIn: true}`

Since the latest release, autoSignIn: true is broken on my side. Currently the project is setup with requireEmailVerification: true as well. I understand that the default behavior is set to true but even explicitly setting it wont fix it. I'm using Sveltekit. When reverting to a previous version it's magically fixed.
4 Replies
bekacru
bekacru2w ago
What was the expected behavior? Require email verification should negate auto sign in true, since email won't be verified at the time of sign up
itsolidude
itsolidudeOP2w ago
Huh surprising. When I'm on the old version I get automatically logged in once I click my verification link. Let me do some more digging. Since 'Require email verification should negate auto sign in true' , something must've been weird in the older version. Certainly some crap I did on my side.
bekacru
bekacru2w ago
For auto login after verification you need to enable emailVerification.autoSignInAfterVerification
itsolidude
itsolidudeOP2w ago
Thank you!

Did you find this page helpful?