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

Support 'Forwarded' header #2694

Open
zdebel opened this issue Oct 30, 2024 · 0 comments
Open

Support 'Forwarded' header #2694

zdebel opened this issue Oct 30, 2024 · 0 comments

Comments

@zdebel
Copy link

zdebel commented Oct 30, 2024

Please add support for 'Forwarded' header.

https://github.com/labstack/echo/blob/master/context.go#L275 here the Scheme method should also support Forwarded header ( https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Forwarded ). This header is for example used by Google in their openid oauth2 provider. I've stumbled across this issue in another project and proposed a fix. In a perfect world, said project should simply call Scheme() ( thomiceli/opengist#359 ).

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

No branches or pull requests

1 participant