Login by phone number best practice

20 views
Skip to first unread message

Mohammad Etemaddar

unread,
Apr 3, 2019, 2:59:06 PM4/3/19
to Django users
I want users to login by phone number (without registration).
But we need username field for authentication.
This is just for make easy for users that don't know about using email. And also make it easier to login for them.
But I need also username and email for other users for future.
I need you opinion on how to implement it.
Set username field to phone_number / create random username for users that need to login by phone

I also need best practices and documentations if is available for login and registration in this situation.

Thank you

Matthew Pava

unread,
Apr 3, 2019, 3:03:45 PM4/3/19
to django...@googlegroups.com
Check out these:
https://djangopackages.org/grids/g/authentication/

A package for phone number authentication:
https://github.com/wejhink/django-phone-login
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/56016d6f-d6c6-4368-a7c0-74037d7b3fdb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Mohammad Etemaddar

unread,
Apr 3, 2019, 3:08:43 PM4/3/19
to Django users
Thank you. But django-phone-login seems a bit complex. It uses rest framework. I don't know why.
Reply all
Reply to author
Forward
0 new messages