dan
dan
BABetter Auth
Created by dan on 5/27/2025 in #help
Is it possible to check oauth email before creating an account?
In my app users must be invited in order to create an account. On the invite page, they have an option to create an account with email otp or with google oauth. When users use oauth, I want to be able to check that the email of the oauth account matches the invitation. Is there any way to get this email address using hooks?
9 replies
BABetter Auth
Created by dan on 5/22/2025 in #help
Help with storing secondary/backup email for users
I'm migrating from a next-auth setup where my users table has two fields - secondary_email and secondary_email_verified. I need to be able to send an email to the secondary email to validate it and update the secondary_email_verified state. I would do this using a magic link. Has anyone done something like this? Is there a way to hook into the email verification step using magic link plugin?
2 replies