Skip to content

Support 'Forwarded' header #2694

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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 ).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant