Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

Integrate Google OAuth2 Social Authentication into your Django x React Web Application.

DEV Community: django·elite_developer·3 days ago
#4FIDZ0XF
#dev#google#django#fullscreen#console#article
Reading 0:00
15s threshold

Requirements A VS Code editor installed. More than basic understanding of Django and React A Custom or Pre built django user model already configured set up virtual environment and pip install these packages -m venv .venv # start virtual environment .venv/scripts/activate # windows command # then install pip install django django-allauth pip install django-allauth dj-rest-auth djangorestframework-simplejwt Enter fullscreen mode Exit fullscreen mode Now we Build Inside your root directory, create a Django project like this: startproject core . Django will create a new directory called core in the current working directory. Next, create an application called authentication : py manage.py startapp authentication The above command invocation will create an app directory called authentication at the same level as your project directory core. Proceed to include your new application in the list of INSTALLED_APPS section of the newly created settings.py file: # core/settings.py INSTALLED_APPS = [ ...…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More