# Email confirmation & URL parameter

**URL:** <https://forum.bubble.io/t/email-confirmation-url-parameter/277851>\
**Category:** Need help\
**Created:** [August 14, 2023, 11:47pm UTC](https://forum.bubble.io/t/email-confirmation-url-parameter/277851 "2023-08-14T23:47:08Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaishnavisrivathsan](https://avatars.discourse-cdn.com/v4/letter/v/bbe5ce/32.png) [@vaishnavisrivathsan](https://forum.bubble.io/u/vaishnavisrivathsan)\
**Post date:** [August 14, 2023, 11:47pm UTC](https://forum.bubble.io/t/email-confirmation-url-parameter/277851/1 "2023-08-14T23:47:08Z")

</div>

Hey folks,

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](http://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

I would LOVE some help 🙂

Cheers!

 ![Image 8-14-23 at 4.45 PM](https://us1.discourse-cdn.com/bubble/original/3X/8/9/898ccd8ae9b039c07411948a312f8e3960d1e6a4.jpeg)

---

<div class="post-metadata">

**Author:** ![cmarchan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cmarchan/32/253062_2.png) [@cmarchan](https://forum.bubble.io/u/cmarchan)\
**Post date:** [August 15, 2023, 4:12am UTC](https://forum.bubble.io/t/email-confirmation-url-parameter/277851/2 "2023-08-15T04:12:14Z")

</div>

Hello @vaishnavisrivathsan

Are you bypassing Bubble’s confirmation token?

---

<div class="post-metadata">

**Author:** ![vaishnavisrivathsan](https://avatars.discourse-cdn.com/v4/letter/v/bbe5ce/32.png) [@vaishnavisrivathsan](https://forum.bubble.io/u/vaishnavisrivathsan)\
**Post date:** [August 15, 2023, 4:46am UTC](https://forum.bubble.io/t/email-confirmation-url-parameter/277851/3 "2023-08-15T04:46:52Z")

</div>

Not really, I was hoping to use that confirmation token as a URL parameter (since it’s the user’s unique ID). Any ideas?

---

<div class="post-metadata">

**Author:** ![tylerboodman](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tylerboodman/32/242142_2.png) [@tylerboodman](https://forum.bubble.io/u/tylerboodman)\
**Post date:** [August 15, 2023, 4:48am UTC](https://forum.bubble.io/t/email-confirmation-url-parameter/277851/4 "2023-08-15T04:48:19Z")

</div>

The confirmation token is a different unique id handled internally to confirm the user’s email, the user’s unique ID is different and different format

---

<div class="post-metadata">

**Author:** ![vaishnavisrivathsan](https://avatars.discourse-cdn.com/v4/letter/v/bbe5ce/32.png) [@vaishnavisrivathsan](https://forum.bubble.io/u/vaishnavisrivathsan)\
**Post date:** [August 15, 2023, 5:09am UTC](https://forum.bubble.io/t/email-confirmation-url-parameter/277851/5 "2023-08-15T05:09:09Z")

</div>

Ah okay. I assumed it’ll be the same. How have you worked around this? Generate your own unique token and associate it with the user?

Thank you!

---

<div class="post-metadata">

**Author:** ![cmarchan](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/cmarchan/32/253062_2.png) [@cmarchan](https://forum.bubble.io/u/cmarchan)\
**Post date:** [August 15, 2023, 5:21am UTC](https://forum.bubble.io/t/email-confirmation-url-parameter/277851/6 "2023-08-15T05:21:02Z")

</div>

Hello @vaishnavisrivathsan

 ![screenshot-manual.bubble.io-2023.08.15-01_20_01](https://us1.discourse-cdn.com/bubble/original/3X/a/9/a901434da847b2a08852743414cc4af2b8441a8b.png)

> **[Account](https://manual.bubble.io/core-resources/actions/account#sign-the-user-up)**

Hope this helps! 😃

---

<div class="post-metadata">

**Author:** ![vaishnavisrivathsan](https://avatars.discourse-cdn.com/v4/letter/v/bbe5ce/32.png) [@vaishnavisrivathsan](https://forum.bubble.io/u/vaishnavisrivathsan)\
**Post date:** [August 15, 2023, 5:37am UTC](https://forum.bubble.io/t/email-confirmation-url-parameter/277851/7 "2023-08-15T05:37:27Z")

</div>

Ah, that helps a lot. Thank you!

---

<div class="post-metadata">

**Author:** ![SK1](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@SK1](https://forum.bubble.io/u/SK1)\
**Post date:** [August 18, 2023, 9:25pm UTC](https://forum.bubble.io/t/email-confirmation-url-parameter/277851/8 "2023-08-18T21:25:49Z")

</div>

@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:

1. confirm the email
2. 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!

---

<div class="post-metadata">

**Author:** ![tylerboodman](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tylerboodman/32/242142_2.png) [@tylerboodman](https://forum.bubble.io/u/tylerboodman)\
**Post date:** [August 18, 2023, 9:28pm UTC](https://forum.bubble.io/t/email-confirmation-url-parameter/277851/9 "2023-08-18T21:28:55Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![SK1](https://avatars.discourse-cdn.com/v4/letter/s/7ba0ec/32.png) [@SK1](https://forum.bubble.io/u/SK1)\
**Post date:** [August 18, 2023, 9:30pm UTC](https://forum.bubble.io/t/email-confirmation-url-parameter/277851/10 "2023-08-18T21:30:10Z")

</div>

Thanks @tylerboodman. I was testing incognito and must have done something wrong for it to not confirm the email.

---

<div class="post-metadata">

**Author:** ![vaishnavisrivathsan](https://avatars.discourse-cdn.com/v4/letter/v/bbe5ce/32.png) [@vaishnavisrivathsan](https://forum.bubble.io/u/vaishnavisrivathsan)\
**Post date:** [August 18, 2023, 10:00pm UTC](https://forum.bubble.io/t/email-confirmation-url-parameter/277851/11 "2023-08-18T22:00:05Z")

</div>

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.

Thank you all for your help!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [October 23, 2023, 11:47pm UTC](https://forum.bubble.io/t/email-confirmation-url-parameter/277851/12 "2023-10-23T23:47:57Z")

</div>

Closed on October 23, 2023, 11:47pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
