Skip to content
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

OIDC: preserve authorization header #3566

Closed

Conversation

zhaohuabing
Copy link
Member

@zhaohuabing zhaohuabing commented Jun 7, 2024

Envoy OAuth2 filter deletes the HTTP authorization header by default, which surprises users.

This PR sets the Envoy OAuth2 filter's preserve_authorization_header field to true by default. This flag can be flipped and added to the EG API if needed in the future.

fix: #3396 (comment)

@zhaohuabing zhaohuabing requested a review from a team as a code owner June 7, 2024 23:51
@zhaohuabing zhaohuabing changed the title oidc preserve authorization header OIDC preserve authorization header Jun 7, 2024
@zhaohuabing zhaohuabing changed the title OIDC preserve authorization header OIDC: preserve authorization header Jun 7, 2024
@zhaohuabing zhaohuabing marked this pull request as draft June 7, 2024 23:54
@zhaohuabing zhaohuabing closed this Jun 7, 2024
@zhaohuabing zhaohuabing force-pushed the preserve_auth_header_oidc branch from 255ca26 to 33fceb0 Compare June 7, 2024 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OIDC SecurityPolicy: original authorization header removed
1 participant