mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Solved bug existed due to difference between mailu domain and hostname difference. also refactored during this to find the bug
This commit is contained in:
@@ -54,14 +54,14 @@ ENABLE_TELEMETRY = True
|
||||
# OIDC via taigaio official contrib
|
||||
# @See https://github.com/taigaio/taiga-contrib-oidc-auth
|
||||
|
||||
OIDC_RP_CLIENT_ID="{{ oidc.client.id }}"
|
||||
OIDC_RP_CLIENT_SECRET="{{ oidc.client.secret }}"
|
||||
OIDC_OP_AUTHORIZATION_ENDPOINT="{{ oidc.client.authorize_url }}"
|
||||
OIDC_OP_TOKEN_ENDPOINT="{{ oidc.client.token_url }}"
|
||||
OIDC_OP_USER_ENDPOINT="{{ oidc.client.user_info_url }}"
|
||||
OIDC_RP_CLIENT_ID="{{ OIDC.CLIENT.ID }}"
|
||||
OIDC_RP_CLIENT_SECRET="{{ OIDC.CLIENT.SECRET }}"
|
||||
OIDC_OP_AUTHORIZATION_ENDPOINT="{{ OIDC.CLIENT.AUTHORIZE_URL }}"
|
||||
OIDC_OP_TOKEN_ENDPOINT="{{ OIDC.CLIENT.TOKEN_URL }}"
|
||||
OIDC_OP_USER_ENDPOINT="{{ OIDC.CLIENT.USER_INFO_URL }}"
|
||||
OIDC_RP_SIGN_ALGO="RS256"
|
||||
OIDC_RP_SCOPES="openid profile email"
|
||||
OIDC_OP_JWKS_ENDPOINT="{{ oidc.client.certs }}"
|
||||
OIDC_OP_JWKS_ENDPOINT="{{ OIDC.CLIENT.CERTS }}"
|
||||
|
||||
{% endif %}
|
||||
|
||||
@@ -70,13 +70,13 @@ OIDC_OP_JWKS_ENDPOINT="{{ oidc.client.certs }}"
|
||||
# OIDC via robrotheram
|
||||
# @see https://github.com/robrotheram/taiga-contrib-openid-auth
|
||||
ENABLE_OPENID=True
|
||||
OPENID_URL="{{oidc.client.authorize_url}}"
|
||||
OPENID_USER_URL="{{oidc.client.user_info_url}}"
|
||||
OPENID_TOKEN_URL="{{oidc.client.token_url}}"
|
||||
OPENID_CLIENT_ID="{{ oidc.client.id }}"
|
||||
OPENID_CLIENT_SECRET="{{ oidc.client.secret }}"
|
||||
OPENID_NAME="{{ oidc.button_text }}"
|
||||
OPENID_USERNAME_FIELD="{{oidc.attributes.username}}"
|
||||
OPENID_URL="{{ OIDC.CLIENT.AUTHORIZE_URL }}"
|
||||
OPENID_USER_URL="{{OIDC.CLIENT.USER_INFO_URL}}"
|
||||
OPENID_TOKEN_URL="{{OIDC.CLIENT.TOKEN_URL}}"
|
||||
OPENID_CLIENT_ID="{{ OIDC.CLIENT.ID }}"
|
||||
OPENID_CLIENT_SECRET="{{ OIDC.CLIENT.SECRET }}"
|
||||
OPENID_NAME="{{ OIDC.BUTTON_TEXT }}"
|
||||
OPENID_USERNAME_FIELD="{{OIDC.ATTRIBUTES.USERNAME}}"
|
||||
# Optional:
|
||||
# OPENID_ID_FIELD="sub"
|
||||
# OPENID_FULLNAME_FIELD="name"
|
||||
|
Reference in New Issue
Block a user