Skip to content

Commit

Permalink
adds to settings basic Keycloak config
Browse files Browse the repository at this point in the history
Ref: #71
  • Loading branch information
oliveratfoodcoopx committed Nov 9, 2022
1 parent 40b5f0d commit 1570f84
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tapir/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,3 +256,10 @@
SILKY_PYTHON_PROFILER = True
SILKY_PYTHON_PROFILER_BINARY = True
SILKY_META = True

KEYCLOAK_CONFIG = dict(
SERVER_URL=env("KEYCLOCK_SERVER_URL", default="http://keycloak_server:8080"),
REALM_NAME=env("KEYCLOCK_REALM_NAME", default="Tapir"),
CLIENT_ID=env("KEYCLOCK_CLIENT_ID", default="tapirweb"),
CLIENT_SECRET_KEY=env("KEYCLOCK_CLIENT_SECRET_KEY", default="c7cV4p1vDVEYFFgoJ3Ji356LLx5zFMgi"),
)

0 comments on commit 1570f84

Please sign in to comment.