![]() Make sure to install the following apps, social_django and auth0login in the ga -django -python /codeshare /settings. Now let’s create a new app inside the codeshare folder: python3 manage.py startapp auth0login To do so, use the following command in the terminal or command prompt of the application: pip install social-auth-app-django~ = 3.1 python-jose~ = 3.0 python-dotenv~ = 0.9 ![]() We will install the following dependencies as a primary step: It’s time to configure our application now. Open the code in your text editor of choice. We should have cloned this GitHub repo to start from where we left off in part 1. In the next section, we'll Auth0 and other necessary packages to configure the application. These define the routes for login and logout in the Auth0 Dashboard.Ĭlick on "SAVE CHANGES" at the bottom of the page to save these changes. Allowed Logout URLs: http : / /localhost : 8000.Allowed Callback URLs: http : / /localhost : 8000 /complete /auth0 /.Once done, click on "CREATE".Īfter the application is created, click on the "Settings" tab and scroll down and set the Allowed Callback URLs and Allowed Logout URLs as follows: Name the application, and then select "Regular Web Applications". ![]() ![]() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |