# OTP based Login

**URL:** <https://forum.adalo.com/t/otp-based-login/7136>\
**Category:** Get Help\
**Created:** [December 17, 2020, 6:02pm UTC](https://forum.adalo.com/t/otp-based-login/7136 "2020-12-17T18:02:13Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![akak](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@akak](https://forum.adalo.com/u/akak)\
**Post date:** [December 17, 2020, 6:02pm UTC](https://forum.adalo.com/t/otp-based-login/7136/1 "2020-12-17T18:02:13Z")

</div>

Hi

I would like to create an OTP based login system, can anyone help me as to how to go about it?

---

<div class="post-metadata">

**Author:** ![Kaigal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/kaigal/32/9584_2.png) [@Kaigal](https://forum.adalo.com/u/Kaigal)\
**Post date:** [December 18, 2020, 2:42pm UTC](https://forum.adalo.com/t/otp-based-login/7136/2 "2020-12-18T14:42:49Z")

</div>

@akak  
I have incorporated a custom OTP solution for our Jobs app. Let me know what specific details you require. I will be happy to share my experience.

---

<div class="post-metadata">

**Author:** ![fredy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/fredy/32/2771_2.png) [@fredy](https://forum.adalo.com/u/fredy)\
**Post date:** [December 18, 2020, 4:03pm UTC](https://forum.adalo.com/t/otp-based-login/7136/3 "2020-12-18T16:03:26Z")

</div>

I would love to know that if there is any way to verify a mobile number sending OTP to the specific number. Please let me know if there is anyway.

Thanks

---

<div class="post-metadata">

**Author:** ![akak](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@akak](https://forum.adalo.com/u/akak)\
**Post date:** [December 18, 2020, 4:37pm UTC](https://forum.adalo.com/t/otp-based-login/7136/4 "2020-12-18T16:37:04Z")

</div>

@Kaigal  
Thank you for your help. I want to enable OTP based Sign up and Login for my users. I have been able to enable the same for the signup part by using “Rand” function to generate a custom OTP and by copying the same in the password section.

But, I haven’t been able to create an OTP based system for login in the user.

---

<div class="post-metadata">

**Author:** ![akak](https://avatars.discourse-cdn.com/v4/letter/a/c67d28/32.png) [@akak](https://forum.adalo.com/u/akak)\
**Post date:** [December 18, 2020, 4:41pm UTC](https://forum.adalo.com/t/otp-based-login/7136/5 "2020-12-18T16:41:25Z")

</div>

@fredy

Hi Fredy, you can create a property in your user collection with the name “OTP”. When the user hits the signup button, add action create a user, in the OTP property go to custom formula “Rand” and also add an update action which copies the value generated by rand function in the password section.  
also link the screen to move to another screen

In the next screen setup a system for the user to enter the OTP, and add a button, add login as the action that is performed when the button is tapped.

This was you can setup a custom OTP system for signing up users.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [December 28, 2020, 4:41pm UTC](https://forum.adalo.com/t/otp-based-login/7136/6 "2020-12-28T16:41:33Z")

</div>

Closed on December 28, 2020, 4:41pm UTC

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