Not exactly - now Im installing with the same config Ive been testing locally in docker but for some reason its not allowing my config for introspection;
msg=“The configuration is invalid and could not be loaded.” [config_key=authenticators.oauth2_introspection.config]=“doesn’t validate with \“#/definitions/configAuthenticatorsOauth2Introspection\“” [config_key=authenticators.oauth2_introspection.enabled]=“value must be false” [config_key=authenticators.oauth2_introspection]=“oneOf failed” config_file=/etc/config/config.yaml
For some reason it wants me to disable oauth2_introspection
The config is simple and works on Docker locally
oauth2_introspection:
enabled: true
config:
introspection_url: http://x.x.x.x/auth/realms/Developer/protocol/openid-connect/token/introspect
scope_strategy: exact
# required_scope:
# - email
# - profile
pre_authorization:
enabled: false
# client_id:
# client_secret:
# scope:
# - email
token_url: http://x.x.x.x/auth/realms/Developer/protocol/openid-connect/token
token_from:
header: Authorization
# or
# query_parameter: auth-token
# or
# cookie: auth-token
introspection_request_headers:
x-forwarded-proto: http
cache:
enabled: true
ttl: 60s
We’re trying to figure out now why this is not valid if it works locally.