Skip to content

otp-authentication-with-django Create login and registration with mobile otp authentication

Notifications You must be signed in to change notification settings

python-hacked/otp-authentication-with-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

otp-authentication-with-django

So, hey guys this repositry is all about how to authenticate with mobile OTP Verification using django

Api that i used to send OTP
Go to this website https://www.fast2sms.com/ and just sigup and you will get the 50 bucks credit, that you could use to send sms.
follow this link https://www.fast2sms.com/dashboard/dev-api and here you will get your api key just copy the api key and paste it views.py file of send_otp() function inside the api variable.

modules used

Django==3.0.5 --->> pip / pip3 install django
requests==2.25.1 --->>> pip / pip3 install requests

1. Registration with OTP


Add your credintals and just click on create account



Now an OTP has been send to your mobile number copy the otp and paste it here




2. Login with OTP


Add your credintals and just click on Login



Now an OTP has been send to your regsitered mobile number copy the otp and paste it here




Now you will redirect to home page now click on verify now , you will get an email just copy the otp and paste it.
Now it redirect again to the home page but your email is verified now

About

otp-authentication-with-django Create login and registration with mobile otp authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published