March 2020
Intermediate to advanced
608 pages
17h 17m
English
If you haven't done so yet, create an Auth0 application at https://auth0.com/ and configure it by following the instructions there. Two social connections are provided in the free plan, so we will activate Google and Twitter to log in with them. You can also try other services. Note that some of them require you to register an app and get API keys and secrets.
Next, we need to install python-social-auth and some other dependencies in the project. Include these dependencies in your pip requirements:
# requirements/_base.txtsocial-auth-app-django~=3.1python-jose~=3.0python-dotenv~=0.9