Skip to content

Conversation

@zdebel
Copy link
Contributor

@zdebel zdebel commented Oct 30, 2024

This fix enables google openid oauth2 mechanism, the current code couldn't detect that it should redirect to https.

In a perfect world, this check plus the existing one for X-Forwarded-Proto should be incorporated into https://github.com/labstack/echo/blob/master/context.go#L275

Documentation on the header support that this fix implements: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Forwarded

@thomiceli thomiceli merged commit d5e66d3 into thomiceli:master Oct 31, 2024
10 checks passed
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.

2 participants