Closed christensenjo closed 1 month ago
When they press the Confirm your Email button in the email, it should:
When I press Create an Account the signUp method is called, sends the supabase request to login, saves the response to the userStore, and logs the following:
User account created, signed in, and data saved to user store -- signUp.vue 27
Then we are redirected to the confirmation page
The user watcher does confirmation page load logs the following when I press "Create an Account".
confirm.vue:11 cookieName: sb -- confirm.vue 11
confirm.vue:12 redirectPath: undefined -- confirm.vue 12
What's the value saved to the userStore from signup.vue::27?
I think the issue here has to do with the configuration in Supabase of the authentication email. I believe that the .ConfirmationEmail was originally doing two things: 1) Opening a new tab that I didn't want opened 2) Authenticating the user such that the previous /confirm page redirects the dashboard page
Now that I've changed the email template to use the SiteURL instead of the ConfirmationURL, it opening the right new tab (/email-confirmed), but it doesn't actually verify the authentication.
I am going to try to revert back to using the .ConfirmationURL
Got it working! Needed Cursor's help verifying token hash and SMTP server to get past rate limiting issues