migrate from keycloak to oidc provider
Django AllAuth dropped keycloak in recent release: https://django-allauth.readthedocs.io/en/latest/socialaccount/providers/keycloak.html
This commit is contained in:
parent
ea308dd7b0
commit
1a89213c80
3 changed files with 19 additions and 18 deletions
19
compose.yml
19
compose.yml
|
@ -82,17 +82,16 @@ services:
|
|||
environment:
|
||||
INVENTREE_SOCIAL_PROVIDERS: |
|
||||
{
|
||||
"keycloak": {
|
||||
"SERVERS": [
|
||||
{
|
||||
"KEYCLOAK_URL": "${HKNG_KEYCLOAK_URL:?You must provide the 'HKNG_KEYCLOAK_URL' variable in the .env file}",
|
||||
"KEYCLOAK_REALM": "${HKNG_KEYCLOAK_REALM:?You must provide the 'HKNG_KEYCLOAK_REALM' variable in the .env file}",
|
||||
"APP": {
|
||||
"client_id": "${HKNG_KEYCLOAK_CLIENT_ID:?You must provide the 'HKNG_KEYCLOAK_CLIENT_ID' variable in the .env file}",
|
||||
"secret": "${HKNG_KEYCLOAK_CLIENT_SECRET:?You must provide the 'HKNG_KEYCLOAK_CLIENT_SECRET' variable in the .env file}"
|
||||
}
|
||||
"openid_connect": {
|
||||
"SERVERS": [{
|
||||
"id": "oidc",
|
||||
"name": "Hacknang SSO",
|
||||
"server_url": "${HKNG_OIDC_URL:?You must provide the 'HKNG_OIDC_URL' variable in the .env file}",
|
||||
"APP": {
|
||||
"client_id": "${HKNG_OIDC_CLIENT_ID:?You must provide the 'HKNG_OIDC_CLIENT_ID' variable in the .env file}",
|
||||
"secret": "${HKNG_OIDC_CLIENT_SECRET:?You must provide the 'HKNG_OIDC_CLIENT_SECRET' variable in the .env file}"
|
||||
}
|
||||
]
|
||||
}]
|
||||
}
|
||||
}
|
||||
depends_on:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue