- An Okta dev server was created : https://dev-356260.okta.com/
- A [email protected] was created on this server
- An application was created on okta : https://dev-356260-admin.okta.com/admin/app/oidc_client/instance/0oaeo3wk1cVctIq1U4x6
- The Authorization Code Flow was enabled on this application
- http://localhost:8000/admin/callback was configured as redirect uri for the application
- [email protected] use was added to this application
- Install requirements (pip install -r requirements.txt)
- Ask for .env file
- Add an super user to your local application (the super user email must be [email protected] )
python manage.py createsuperuser
- Run the local server
python manage.py runserver
- Open uri http://localhost:8000/admin/ (you shoul be redirected to Okta)
- Login into Okta as [email protected] (you should ask for [email protected] Okta password)
- Tada you're connected to Django Admin