So, I am trying to create a user sign up flow wherein I am trying to leverage Bubble’s native email confirmation flow.
My question is around why I am getting a generic link in my test version when there is a unique link being sent to my email. So, here’s the full setup:
I have a typical email and password sign up screen
When the user hits submit, there is an alert to check email for confirmation
I use Bubble.io’s native email confirmation (see picture 1 below)
The user receives an email with a unique link (tied to the user’s unique ID believe) - I’ve tested this out
When the user clicks on the unique link, it takes them to the next step of the sign up process to provide more information (which is on a different page) - but the unique link doesn’t persist and I am unable to register any of the new information to the database and tie it to the user
@cmarchan@vaishnavisrivathsan my starting assumption is that given that it is a bubble generated token, when a user visits the URL (created as per the instructions), it should:
confirm the email
Log the user in automatically
The assumption is based on the default behaviour for the bubble generated email.
I am testing this now and neither 1 & 2 seem to happen. Do we have to store this token on the user and build our own workflow to confirm email & log the user in? Thanks heaps!
The email confirmation link doesn’t log them in. The assumption is they have signed up so now they are logged in, it sends the confirmation email, they click it and Bubble has their own internal logic to set the current logged in user’s “email confirmed” to yes.
Bubble probably has their own hidden database with the User and the confirmation token so it can verify its correct
Just figured this out, I just added the login on the receiving page post email confirmation and it worked. My error was more basic - I had not created a new thing for the user’s child data type - which blocked me from proceeding forward.
PS: Also decided it was too much to do the URL retrieval for MVP and going with the “Current User” approach.