[英]Django user login and registration with Github and Google
I want to create a Google and GitHub login and register with Django on the site, Previously I implemented the register and login with email, and I do not use username on this website, and I customized the user model for this. I want to create a Google and GitHub login and register with Django on the site, Previously I implemented the register and login with email, and I do not use username on this website, and I customized the user model for this. Can someone help me how to do this?有人可以帮我怎么做吗?
I use Django-allauth for this scenario.我在这种情况下使用Django-allauth 。 It has providers for both GitHub and Google.它有 GitHub 和 Google 的供应商。
You can read how to setup GitHub login and registration at this link https://learndjango.com/tutorials/django-allauth-tutorial .您可以在此链接https://learndjango.com/tutorials/django-allauth-tutorial阅读如何设置 GitHub 登录和注册。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.