-
-
Notifications
You must be signed in to change notification settings - Fork 360
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Env vars for client ID/secret in oauth2_introspection don't work anymore in v0.19.0-beta.1 #270
Comments
Can confirm. I'm having this issue too. |
This was referenced Oct 17, 2019
aeneasr
added a commit
that referenced
this issue
Oct 26, 2019
aeneasr
added a commit
that referenced
this issue
Oct 27, 2019
jdelgadoalfonso
added a commit
to galgus/oathkeeper
that referenced
this issue
Mar 12, 2020
…quest method Closes ory#270
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Setting environment vars
AUTHENTICATORS_OAUTH2_INTROSPECTION_PRE_AUTHORIZATION_CLIENT_ID
andAUTHENTICATORS_OAUTH2_INTROSPECTION_PRE_AUTHORIZATION_CLIENT_SECRET
doesn't work anymore sincev0.19.0-beta.1
If I don't put
client_id
andclient_secret
in global configuration, none error is throw at start for the configuration file but the rules will throw an error without information:time="2019-09-30T14:47:43Z" level=error msg="A rule uses a malformed configuration and all URLs matching this rule will not work. You should resolve this issue now." error="authenticator matching this route is misconfigured or disabled"
Global configuration for
oauth2_introspection
:Example of rule:
Expected behavior
Env vars should be allowed for client id and secret to avoid saving secret in git repo.
Environment
oryd/oathkeeper:v0.19.0-beta.1
Additional context
I think this is related to this commit and lines removal:
89709aa#diff-2449a6ea083767b149400840c05f41bdL58-L59
The text was updated successfully, but these errors were encountered: