# How to configure email verification in thunkable?

**URL:** <https://community.thunkable.com/t/how-to-configure-email-verification-in-thunkable/2019322>\
**Category:** Questions about Thunkable X\
**Tags:** firebase, beginner\
**Created:** [August 29, 2022, 6:30pm UTC](https://community.thunkable.com/t/how-to-configure-email-verification-in-thunkable/2019322 "2022-08-29T18:30:36Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![lolxdyt6950as](https://avatars.discourse-cdn.com/v4/letter/l/50afbb/32.png) [@lolxdyt6950as](https://community.thunkable.com/u/lolxdyt6950as)\
**Post date:** [August 29, 2022, 6:30pm UTC](https://community.thunkable.com/t/how-to-configure-email-verification-in-thunkable/2019322/1 "2022-08-29T18:30:36Z")

</div>

I dont know how to configure my email verification system.  
Can someone help me ASAP?

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [August 29, 2022, 6:57pm UTC](https://community.thunkable.com/t/how-to-configure-email-verification-in-thunkable/2019322/2 "2022-08-29T18:57:30Z")

</div>

What have you tried? What is/is not working?

If you need immediate help, you can pay for support but otherwise, you may need to be patient.

---

<div class="post-metadata">

**Author:** ![lolxdyt6950as](https://avatars.discourse-cdn.com/v4/letter/l/50afbb/32.png) [@lolxdyt6950as](https://community.thunkable.com/u/lolxdyt6950as)\
**Post date:** [August 30, 2022, 3:07am UTC](https://community.thunkable.com/t/how-to-configure-email-verification-in-thunkable/2019322/3 "2022-08-30T03:07:17Z")

</div>

I havent tried anything yet…  
There is a block in sign in block called “is email verified?”

How will i set it up?

---

<div class="post-metadata">

**Author:** ![thinzartheintzaw00x1](https://avatars.discourse-cdn.com/v4/letter/t/a9adbd/32.png) [@thinzartheintzaw00x1](https://community.thunkable.com/u/thinzartheintzaw00x1)\
**Post date:** [August 30, 2022, 5:11am UTC](https://community.thunkable.com/t/how-to-configure-email-verification-in-thunkable/2019322/4 "2022-08-30T05:11:17Z")

</div>

Firstly you have to create firebase account set up. If you don’t know, I suggest you just go and watch some tutorials for reference. That would help.

---

<div class="post-metadata">

**Author:** ![lolxdyt6950as](https://avatars.discourse-cdn.com/v4/letter/l/50afbb/32.png) [@lolxdyt6950as](https://community.thunkable.com/u/lolxdyt6950as)\
**Post date:** [August 30, 2022, 5:39am UTC](https://community.thunkable.com/t/how-to-configure-email-verification-in-thunkable/2019322/5 "2022-08-30T05:39:23Z")

</div>

I have done that already and done with firebase  
I want to know how to set this up  
VVVVVVVVVVVVVVVVVVV  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/d/2d7de201b5e4b60718f0bc8033a481c15fff4e2e.png)

---

<div class="post-metadata">

**Author:** ![mimostel](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mimostel/32/107661_2.png) [@mimostel](https://community.thunkable.com/u/mimostel)\
**Post date:** [August 30, 2022, 6:41am UTC](https://community.thunkable.com/t/how-to-configure-email-verification-in-thunkable/2019322/6 "2022-08-30T06:41:22Z")

</div>

Did you read this ?

> **[Email Sign In by Firebase](https://docs.thunkable.com/sign-in)**

Will clarify everything you need to know, really.  
I’ve learned from that too.

---

<div class="post-metadata">

**Author:** ![lolxdyt6950as](https://avatars.discourse-cdn.com/v4/letter/l/50afbb/32.png) [@lolxdyt6950as](https://community.thunkable.com/u/lolxdyt6950as)\
**Post date:** [August 30, 2022, 7:19am UTC](https://community.thunkable.com/t/how-to-configure-email-verification-in-thunkable/2019322/7 "2022-08-30T07:19:13Z")

</div>

Yes i did read that, But that doesnt include email verification tutorial (I think), or i just cant find it

It only has the optional thing that just shows the template, not the actual tutorial ☹

Edit: i rechecked the tutorial and it includes the email verification block but when i tried it…nothing came in my mailbox

---

<div class="post-metadata">

**Author:** ![mimostel](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mimostel/32/107661_2.png) [@mimostel](https://community.thunkable.com/u/mimostel)\
**Post date:** [August 30, 2022, 7:36am UTC](https://community.thunkable.com/t/how-to-configure-email-verification-in-thunkable/2019322/8 "2022-08-30T07:36:25Z")

</div>

Never happened to me. I always got the mail after I create a new user. Maybe your mail provider put that mail in spam folder ?

---

<div class="post-metadata">

**Author:** ![lolxdyt6950as](https://avatars.discourse-cdn.com/v4/letter/l/50afbb/32.png) [@lolxdyt6950as](https://community.thunkable.com/u/lolxdyt6950as)\
**Post date:** [August 30, 2022, 8:41am UTC](https://community.thunkable.com/t/how-to-configure-email-verification-in-thunkable/2019322/9 "2022-08-30T08:41:45Z")

</div>

It didnt came at my inbox nor my spam folder

---

<div class="post-metadata">

**Author:** ![zander](https://avatars.discourse-cdn.com/v4/letter/z/ecb155/32.png) [@zander](https://community.thunkable.com/u/zander)\
**Post date:** [August 30, 2022, 10:12pm UTC](https://community.thunkable.com/t/how-to-configure-email-verification-in-thunkable/2019322/10 "2022-08-30T22:12:10Z")

</div>

If you share your project, we might be able to help you. Its almost impossible to know what’s going on without seeing it

---

<div class="post-metadata">

**Author:** ![lolxdyt6950as](https://avatars.discourse-cdn.com/v4/letter/l/50afbb/32.png) [@lolxdyt6950as](https://community.thunkable.com/u/lolxdyt6950as)\
**Post date:** [August 31, 2022, 12:44pm UTC](https://community.thunkable.com/t/how-to-configure-email-verification-in-thunkable/2019322/11 "2022-08-31T12:44:58Z")

</div>

sure, here is the project link

[https://x.thunkable.com/projects/62f78cb5dfbea60225513fd3/6019e815-c69a-4458-b12e-09327c83fd09/blocks](https://x.thunkable.com/projects/62f78cb5dfbea60225513fd3/6019e815-c69a-4458-b12e-09327c83fd09/blocks)

---

<div class="post-metadata">

**Author:** ![lolxdyt6950as](https://avatars.discourse-cdn.com/v4/letter/l/50afbb/32.png) [@lolxdyt6950as](https://community.thunkable.com/u/lolxdyt6950as)\
**Post date:** [September 1, 2022, 12:29pm UTC](https://community.thunkable.com/t/how-to-configure-email-verification-in-thunkable/2019322/12 "2022-09-01T12:29:36Z")

</div>

ok so i figured out the problem

it was in my website hosting in firebase, i had to use this code to send a email lol

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/c/0cf8d25f7183297caa9883015428ba982bd05257.png)

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [September 1, 2022, 3:14pm UTC](https://community.thunkable.com/t/how-to-configure-email-verification-in-thunkable/2019322/13 "2022-09-01T15:14:47Z")

</div>

BEAUTIFUL!!!

This is how I send invites to users that are created by an admin in my latest app! I use a firebase extension to [send emails! 🙂](https://firebase.google.com/products/extensions?gclid=CjwKCAjwsMGYBhAEEiwAGUXJaY8G1TF8Wff8MwTvF8JL_NSSJoZ8hNlMJ2LXgHEYIT4piUYahKKWdxoCUcsQAvD_BwE&gclsrc=aw.ds) The idea for me was that the individuals 1) dont want to email verify and 2) arent signing up for the app. only admins should sign up and pay money. therefore, admins create apps via a cloud function, then send them an email to invite them to use the app and reset their password. This email can be resent at the push of a button! It’s nice! 🙂

```auto
const functions = require("firebase-functions");
const admin = require("firebase-admin");
const auth = admin.auth();
const { getAuth } = require('firebase-admin/auth');
const db = admin.firestore();
const cors = require('cors')({
  origin: true
});

module.exports.inviteUser = async function(req, res) {
      const email = req.body.email;
      const sender = req.body.sender;
      var m
      cors(req, res, async () => {
          functions.logger.log('starting inviteUser')
          const emailBucket = db.collection('mail')
          functions.logger.log('got emailBucket')
          const model = function(url, to, sender) {
            let subject = "You have been invited to ScorecardX by " + sender + ".";
            let html = `<body style="box-sizing: border-box; margin: 0;">
            <table class="main-body" style="box-sizing: border-box; min-height: 150px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; width: 100%; height: 100%; background-color: rgb(234, 236, 237);" width="100%" height="100%" bgcolor="rgb(234, 236, 237)">
              <tbody style="box-sizing: border-box;">
                <tr class="row" style="box-sizing: border-box; vertical-align: top;" valign="top">
                  <td class="main-body-cell" style="box-sizing: border-box;">
                    <table class="container" style="box-sizing: border-box; font-family: Helvetica, serif; min-height: 150px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; margin-top: auto; margin-right: auto; margin-bottom: auto; margin-left: auto; height: 0px; width: 90%; max-width: 550px;" width="90%" height="0">
                      <tbody style="box-sizing: border-box;">
                        <tr style="box-sizing: border-box;">
                          <td class="container-cell" style="box-sizing: border-box; vertical-align: top; font-size: medium; padding-bottom: 50px;" valign="top">
                           <img src="https://res.cloudinary.com/behaviorreportcard/image/upload/v1661383692/jaredgibb935-01_tbrld3.png" alt="ScorecardX" class="c926" style="box-sizing: border-box; color: rgb(158, 83, 129); width: 100%; font-size: 50px;">
                            <table class="card" style="box-sizing: border-box; min-height: 150px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; margin-bottom: 20px; height: 0px;" height="0">
                              <tbody style="box-sizing: border-box;">
                                <tr style="box-sizing: border-box;">
                                  <td class="card-cell" style="box-sizing: border-box; background-color: rgb(255, 255, 255); overflow-x: hidden; overflow-y: hidden; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; text-align: center;" bgcolor="rgb(255, 255, 255)" align="center">
                                    <table class="table100 c1357" style="box-sizing: border-box; width: 100%; min-height: 150px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; height: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-collapse: collapse;" width="100%" height="0">
                                      <tbody style="box-sizing: border-box;">
                                        <tr style="box-sizing: border-box;">
                                          <td class="card-content" style="box-sizing: border-box; font-size: 13px; line-height: 20px; color: rgb(111, 119, 125); padding-top: 10px; padding-right: 20px; padding-bottom: 0px; padding-left: 20px; vertical-align: top;" valign="top">
                                            <h1 class="card-title" style="box-sizing: border-box; font-size: 25px; font-weight: 300; color: rgb(68, 68, 68);">Your colleague has invited you to begin using ScorecardX
                                            </h1>
                                            <p class="card-text" style="box-sizing: border-box;">With ScorecardX your performance review process becomes much easier and more objective. You wont have to remember how someone was doing at any particular point in time as the app makes it easy to track and monitor ongoing process in a painless and easy way!&nbsp;
                                              <br style="box-sizing: border-box;">
                                              <br style="box-sizing: border-box;">
                                              <br style="box-sizing: border-box;">To begin using ScorecardX, click the button below to set a password for your account and then log in!&nbsp;
                                              <br style="box-sizing: border-box;">
                                            </p>
                                            <table class="c1542" style="box-sizing: border-box; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; width: 100%;" width="100%">
                                              <tbody style="box-sizing: border-box;">
                                                <tr style="box-sizing: border-box;">
                                                  <td id="c1545" class="card-footer" style="box-sizing: border-box; padding-top: 20px; padding-right: 0px; padding-bottom: 20px; padding-left: 0px; text-align: center;" align="center">
                                                    <a href='${url}' title="Reset Password" class="button" style="box-sizing: border-box; font-size: 12px; padding-top: 10px; padding-right: 20px; padding-bottom: 10px; padding-left: 20px; background-color: rgb(217, 131, 166); color: rgb(255, 255, 255); text-align: center; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; font-weight: 300;">Start Now</a>
                                                  </td>
                                                </tr>
                                              </tbody>
                                            </table>
                                            <div class="c2421" style="box-sizing: border-box; padding-top: 10px; padding-right: 10px; padding-bottom: 10px; padding-left: 10px;">MADE BY JARED GIBB
                                              <p id="i0sx93" data-gjs-type="text" draggable="true" style="box-sizing: border-box;">
                                                <br style="box-sizing: border-box;">
                                              </p>
                                            </div>
                                          </td>
                                        </tr>
                                      </tbody>
                                    </table>
                                  </td>
                                </tr>
                              </tbody>
                            </table>
                          </td>
                        </tr>
                      </tbody>
                    </table>
                  </td>
                </tr>
              </tbody>
            </table>
          </body>`

            return {
              to: to,
              message: {
                subject: subject,
                html: html
              }
            }
          }

          functions.logger.log('getting reset link for ' + email)
          getAuth().generatePasswordResetLink(email)
            .then(link => {
              functions.logger.log('got reset link for ' + email)
              m = model(link, email, sender)
              return emailBucket.add(m)
            })
            .then(() => {
              res.send('success')
            })
            .catch(err => {
              functions.logger.log('error getting reset link for ' + email)
              res.send(err)
            })

        })

      }

```

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [September 1, 2022, 5:08pm UTC](https://community.thunkable.com/t/how-to-configure-email-verification-in-thunkable/2019322/14 "2022-09-01T17:08:59Z")

</div>

A post was split to a new topic: [Can I create a pedometer in Thunkable?](https://community.thunkable.com/t/can-i-create-a-pedometer-in-thunkable/2023778)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [November 30, 2022, 5:09pm UTC](https://community.thunkable.com/t/how-to-configure-email-verification-in-thunkable/2019322/15 "2022-11-30T17:09:35Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
