Django tutorial - How to authenticate using Google #20

Опубликовано: 05 Сентябрь 2022
на канале: Python Lessons
12,619
153

Welcome everyone to part 20 of the web development in Python with Django. First of all, I wasn't planning to make this tutorial at first, but I got a request to cover a topic on implementing account authentication with 3rd party pages. So, this will be a simple tutorial to explore social (Google) OAuth 2.0 authentication integration with Django.

First, what is OAuth? That's an open authorization service that allows websites or applications to share user information with other websites without being given a user's password. Users can sign in to multiple sites using the same account without creating other credentials. There are plenty of these OAuth service providers that finite list can be found on this official link. Most popular are Google, Facebook, Twitter, and GitHub. When we implement one of them, it's pretty simple and similar to adding more of them. I'll cover only the Google provider in this tutorial because this post would be too long to cover all of them.

In this tutorial, I'll continue working on my previous tutorial (SQLite to PostgreSQL), but there shouldn't be any problems if you create a Django project from scratch to try it out.

Text version tutorial: https://pylessons.com/django-google-o...
GitHub code: https://github.com/pythonlessons/Djan...
Django allauth providers: https://django-allauth.readthedocs.io...
Google Developers Console: https://console.developers.google.com/

#django #programming #educational #technology #web #website


Смотрите видео Django tutorial - How to authenticate using Google #20 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Python Lessons 05 Сентябрь 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 12,61 раз и оно понравилось 15 людям.