Skip to content

Repository of a Django application authenticating in Keycloak

License

Notifications You must be signed in to change notification settings

thiagonf/djangoSSO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DjangoSSO

This is repository a study on SSO authentication between Django and Keycloak.

QuickStart

  1. Clone this repository
  2. Create a Keycloak docker
docker run --name keycloak -p 8080:8080 -e KEYCLOAK_USER=admin -e KEYCLOAK_PASSWORD=password  jboss/keycloak
  1. Configure Keycloak server

    See how to configuration Keycloak server on wiki Keyclaok Configuration

  2. Install requeriments

pip install -r requirements.txt
  1. Configuration Django-Keycloak

    See how to configuration Django-Keycloak lib on wiki Django-Keyclaok Configuration

  2. Run migrations Django

python manage.py migrate
  1. Run application Django
python manage.py runserver

Keycloak server information

References

About

Repository of a Django application authenticating in Keycloak

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published