aaronn / django-rest-framework-passwordless

Passwordless Auth for Django REST Framework
MIT License
708 stars 154 forks source link

Bad request 400: Unable to send you a login code. Try again later. #138

Closed jfornear closed 9 months ago

jfornear commented 9 months ago

I have everything working correctly and expected in DEBUG.

In prod, I get this “Unable to send you a login code. Try again later.” bad request 400 error.

I've confirmed that my Twilio env is correct.

I see drfpasswordless is creating the User and callback tokens correctly. The issue is that no Twilio text is being sent.

jfornear commented 9 months ago

I forgot to add twilio==8.10.3 to my requirements.txt 🤦‍♂️

bhaveshdev09 commented 9 months ago

That may be the different case but In my case I have configured the wrong email settings 😅

On Sun, 10 Dec 2023 at 8:30 AM, Jesse Fornear @.***> wrote:

Closed #138 https://github.com/aaronn/django-rest-framework-passwordless/issues/138 as completed.

— Reply to this email directly, view it on GitHub https://github.com/aaronn/django-rest-framework-passwordless/issues/138#event-11201990522, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK52F76IBOK24C32WW7H7C3YIUQVVAVCNFSM6AAAAABAODS5EKVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRGIYDCOJZGA2TEMQ . You are receiving this because you are subscribed to this thread.Message ID: <aaronn/django-rest-framework-passwordless/issue/138/issue_event/11201990522 @github.com>