# Creating user with mobile number verification and login with just OTP

**URL:** <https://devforum.okta.com/t/creating-user-with-mobile-number-verification-and-login-with-just-otp/5053>\
**Category:** Questions\
**Created:** [May 7, 2019, 10:35am UTC](https://devforum.okta.com/t/creating-user-with-mobile-number-verification-and-login-with-just-otp/5053 "2019-05-07T10:35:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajkumar584](https://avatars.discourse-cdn.com/v4/letter/r/65b543/32.png) [@rajkumar584](https://devforum.okta.com/u/rajkumar584)\
**Post date:** [May 7, 2019, 10:35am UTC](https://devforum.okta.com/t/creating-user-with-mobile-number-verification-and-login-with-just-otp/5053/1 "2019-05-07T10:35:38Z")

</div>

Here is our actual requirement

**Signup**  
User should be able to signup from our app with the following details

1. First name
2. Last name
3. Email
4. Mobile number (Includes country code)

Then OTP verification should be done, then only registration should be successful.

**Login**  
Login should be purely OTP based so the form contains only the mobile number field, nothing else.  
When the OTP verification is successful, user should be logged in and token is returned.

**Profile**  
When I make an API call to fetch user details, I want to get the details user has provided when signing up. Also there should be a sign out option. that takes the user out of the app.

**Data**  
How the Firstname, Lastname, Email and Mobile number fields are saved in database? Are they encrypted and secured?

* * *

Can someone help me to know if my requirement is possible with Okta, if yes, can you please guide me on that with some references/steps.

---

<div class="post-metadata">

**Author:** ![kalagarasindhura](https://avatars.discourse-cdn.com/v4/letter/k/e19b73/32.png) [@kalagarasindhura](https://devforum.okta.com/u/kalagarasindhura)\
**Post date:** [March 2, 2022, 4:31pm UTC](https://devforum.okta.com/t/creating-user-with-mobile-number-verification-and-login-with-just-otp/5053/2 "2022-03-02T16:31:15Z")

</div>

@rajkumar584 : Did you figure out solution for this? We have the same requirement that we are looking to resolve. Appreciate any insight or help that you can provide us on how you resolved this problem.

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 12, 2024, 6:13pm UTC](https://devforum.okta.com/t/creating-user-with-mobile-number-verification-and-login-with-just-otp/5053/3 "2024-02-12T18:13:28Z")

</div>


