-
Notifications
You must be signed in to change notification settings - Fork 328
-
Notifications
You must be signed in to change notification settings - Fork 328
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
Combine OIDC and external auth security policies #4275
Labels
Comments
@chessman you should be able to do this using the |
@arkodg Thanks for the hint. It started to work with a changed order but there are issues:
This is what I did: https://gist.github.com/chessman/800b328c484f5ea9ff260537ec8a9ebb |
cc @zhaohuabing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
I'm trying to combine OIDC and external auth security polices. The idea is to perform a check using an external service for a forwarded
Authorization
header received in the OAuth2 authentication.I followed both guides:
https://gateway.envoyproxy.io/docs/tasks/security/oidc/
https://gateway.envoyproxy.io/docs/tasks/security/ext-auth/
They work separately, but when I enable both, the external auth takes precedence, resulting in a 403 error. Is it possible to change the order in which the policies are applied?
The text was updated successfully, but these errors were encountered: