Keycloak And Django
Keycloak and Django#
Install Keyclooak locally
docker run -d -p 8080:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=pass jboss/keycloak
Follow the guide here: https://blog.jonharrington.org/static/integrate-django-with-keycloak
Quickstart#
Full tutotual for using django with keycloak
-
Create a New Realm
-
Create a New Client
- OpenID Connect
- Root URL:
http://127.0.0.1:8000/
-
Get your Client ID and Secret from the client page
-
Get the OpenID Info from the realm page or at:
http://
:5000/auth/realms/ /.well-known/openid-configuration