# What is the best way to confirm email?

**URL:** <https://forum.bubble.io/t/what-is-the-best-way-to-confirm-email/169058>\
**Category:** Need help\
**Created:** [September 13, 2021, 1:13pm UTC](https://forum.bubble.io/t/what-is-the-best-way-to-confirm-email/169058 "2021-09-13T13:13:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![aldevelops](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/aldevelops/32/148299_2.png) [@aldevelops](https://forum.bubble.io/u/aldevelops)\
**Post date:** [September 13, 2021, 1:13pm UTC](https://forum.bubble.io/t/what-is-the-best-way-to-confirm-email/169058/1 "2021-09-13T13:13:43Z")

</div>

I have a confirmation page that is directed from email after clicking confirm button, But what if someone open this page without email direction?

I though about making a data field filter(sent confirm), when confirm button is clicked change to yes when directed on page load if yes, change (confirmed) data field of user to yes.

But still i can click the button and open the page without permission from email, How can i avoid this headaches, something that can help to detect direction from email.

---

<div class="post-metadata">

**Author:** ![makara](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/makara/32/104822_2.png) [@makara](https://forum.bubble.io/u/makara)\
**Post date:** [September 13, 2021, 3:42pm UTC](https://forum.bubble.io/t/what-is-the-best-way-to-confirm-email/169058/2 "2021-09-13T15:42:15Z")

</div>

That’s a great idea!

The only other thing I can think of is.  
You could add “&user=current user’s email” to the link sent in the email, and  
When the page loads, if it doesn’t match the user’s email, it won’t load.

How about that?

---

<div class="post-metadata">

**Author:** ![aldevelops](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/aldevelops/32/148299_2.png) [@aldevelops](https://forum.bubble.io/u/aldevelops)\
**Post date:** [September 13, 2021, 3:50pm UTC](https://forum.bubble.io/t/what-is-the-best-way-to-confirm-email/169058/3 "2021-09-13T15:50:54Z")

</div>

The confirmation process match user email anyway i think or you could use the unique ID which is more safe, **the issue** is about **when** opening the confirmation page without clicking the link sent to the email before confirming process.

---

<div class="post-metadata">

**Author:** ![makara](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/makara/32/104822_2.png) [@makara](https://forum.bubble.io/u/makara)\
**Post date:** [September 13, 2021, 3:55pm UTC](https://forum.bubble.io/t/what-is-the-best-way-to-confirm-email/169058/4 "2021-09-13T15:55:13Z")

</div>

If someone had also entered the URL key, I certainly would not have been able to solve the problem. Sorry about that.

I think my idea and yours together would be a perfect security solution, don’t you think?

---

<div class="post-metadata">

**Author:** ![aldevelops](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/aldevelops/32/148299_2.png) [@aldevelops](https://forum.bubble.io/u/aldevelops)\
**Post date:** [September 13, 2021, 4:03pm UTC](https://forum.bubble.io/t/what-is-the-best-way-to-confirm-email/169058/5 "2021-09-13T16:03:11Z")

</div>

I have tested again, and you know what is inspiring in the confirming process action?  
That it’s working perfectly, It does not matter if you have opened this page.

**When click on confirm** , just set there a WF confirm email directed to the confirmation page.  
**If confirmation page is loaded** before confirming process and Current use is not confirmed… If yes: direct the user to 404.  
**When clicking the confirmation page URL** during the email, It simply match that its confirmed and logged in.

Thank you for your effort and helping.

---

<div class="post-metadata">

**Author:** ![makara](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/makara/32/104822_2.png) [@makara](https://forum.bubble.io/u/makara)\
**Post date:** [September 13, 2021, 4:05pm UTC](https://forum.bubble.io/t/what-is-the-best-way-to-confirm-email/169058/6 "2021-09-13T16:05:57Z")

</div>

I’m glad it’s been resolved.

---

<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:** [November 22, 2021, 1:14pm UTC](https://forum.bubble.io/t/what-is-the-best-way-to-confirm-email/169058/7 "2021-11-22T13:14:29Z")

</div>

Closed on November 22, 2021, 1:14pm UTC

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