Switch to introspection
This commit is contained in:
parent
634983a6cb
commit
07b446c04e
|
@ -434,9 +434,9 @@ OAUTH2_CLIENT_ID=
|
||||||
# Specify the OAuth2 client secret
|
# Specify the OAuth2 client secret
|
||||||
OAUTH2_CLIENT_SECRET=
|
OAUTH2_CLIENT_SECRET=
|
||||||
|
|
||||||
# empty => https://oauth2.domain.com/user_info?token=
|
# empty => https://oauth2.domain.com/userinfo/
|
||||||
# Specify the user info endpoint URL of the oauth2 provider
|
# Specify the user info endpoint URL of the oauth2 provider
|
||||||
OAUTH2_TOKENINFO_URL=
|
OAUTH2_INTROSPECTION_URL=
|
||||||
|
|
||||||
# -----------------------------------------------
|
# -----------------------------------------------
|
||||||
# --- LDAP Section ------------------------------
|
# --- LDAP Section ------------------------------
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
client_id = verySecretId
|
client_id = verySecretId
|
||||||
client_secret = verySecretSecret
|
client_secret = verySecretSecret
|
||||||
tokeninfo_url = https://oauth2.domain.com/user_info?token=
|
introspection_url = https://oauth2.domain.com/userinfo/
|
||||||
|
|
|
@ -156,7 +156,7 @@ function _environment_variables_oauth2() {
|
||||||
|
|
||||||
VARS[OAUTH2_CLIENT_ID]="${OAUTH2_CLIENT_ID:=}"
|
VARS[OAUTH2_CLIENT_ID]="${OAUTH2_CLIENT_ID:=}"
|
||||||
VARS[OAUTH2_CLIENT_SECRET]="${OAUTH2_CLIENT_SECRET:=}"
|
VARS[OAUTH2_CLIENT_SECRET]="${OAUTH2_CLIENT_SECRET:=}"
|
||||||
VARS[OAUTH2_TOKENINFO_URL]="${OAUTH2_TOKENINFO_URL:=}"
|
VARS[OAUTH2_INTROSPECTION_URL]="${OAUTH2_INTROSPECTION_URL:=}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# This function handles environment variables related to LDAP.
|
# This function handles environment variables related to LDAP.
|
||||||
|
|
Loading…
Reference in New Issue