# Not receiving OTP for passwordless authentication

**URL:** <https://community.auth0.com/t/not-receiving-otp-for-passwordless-authentication/93290>\
**Category:** Get Help\
**Created:** [October 28, 2022, 8:48am UTC](https://community.auth0.com/t/not-receiving-otp-for-passwordless-authentication/93290 "2022-10-28T08:48:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ritesh.rai](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ritesh.rai/32/37339_2.png) [@ritesh.rai](https://community.auth0.com/u/ritesh.rai)\
**Post date:** [October 28, 2022, 8:48am UTC](https://community.auth0.com/t/not-receiving-otp-for-passwordless-authentication/93290/1 "2022-10-28T08:48:15Z")

</div>

Hi Team,  
We are using StartPasswordlessEmailFlowAsync API for starting passwordless authentication with below parameters-  
{  
Email = ‘ritesh.rai+op1309@torinit.ca’,  
ClientId = ‘3qzeHEwQnWaXDRQP48TdcUKQRXcZ8aBt’,  
ClientSecret = ‘jShjGV8S9llP3MgopdRqXdqgyVu8yJq\_m1Nc\_18GVVBv0N0M3nd28hyA2LEUb3MG’,  
Type = PasswordlessEmailRequestType.Code,  
AuthenticationParameters = new Dictionary\<string, object\>() {  
{  
“scope”, “openid profile email offline\_access”  
}  
}  
}

We are getting success response as shown below but not getting OTP on the email .

![image](https://global.discourse-cdn.com/auth0/original/3X/2/7/27c870c020dbb0eade54cac3b4327d8f82761269.png)

This functionality was working properly till Friday .  
An urgent help is needed as we are planning a client demo.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 28, 2022, 5:59pm UTC](https://community.auth0.com/t/not-receiving-otp-for-passwordless-authentication/93290/3 "2022-10-28T17:59:02Z")

</div>

Hi @ritesh.rai,

Have you configured a [Configure External SMTP Email Providers](https://auth0.com/docs/customize/email/smtp-email-providers)? The default provider is for testing only and should not be considered reliable.

---

<div class="post-metadata">

**Author:** ![ritesh.rai](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ritesh.rai/32/37339_2.png) [@ritesh.rai](https://community.auth0.com/u/ritesh.rai)\
**Post date:** [October 31, 2022, 7:13am UTC](https://community.auth0.com/t/not-receiving-otp-for-passwordless-authentication/93290/4 "2022-10-31T07:13:48Z")

</div>

Yes we are using sendgrid as Custom Email Provider. I got the clue and issue is fixed now.Thanks!

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 31, 2022, 3:37pm UTC](https://community.auth0.com/t/not-receiving-otp-for-passwordless-authentication/93290/5 "2022-10-31T15:37:53Z")

</div>

Perfect, please reach out if you have any other questions.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 14, 2022, 3:38pm UTC](https://community.auth0.com/t/not-receiving-otp-for-passwordless-authentication/93290/6 "2022-11-14T15:38:37Z")

</div>

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