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

Erreur 400 : redirect_uri_mismatch / since 0.9.x #941

Open
herewithme opened this issue Jan 28, 2024 · 4 comments
Open

Erreur 400 : redirect_uri_mismatch / since 0.9.x #941

herewithme opened this issue Jan 28, 2024 · 4 comments

Comments

@herewithme
Copy link

Hello,

Thank you for this open-source project.

We have a problem since version 0.9.0 and 0.9.1
SSO authentication has a Google error: redirect_uri_mismatch

We didn't have this problem before the 0.8.x branch.

Any ideas?

@herewithme
Copy link
Author

We don't have this problem with version 0.8.1.

@Eugeny
Copy link
Member

Eugeny commented Jan 28, 2024

If you have a proxy in front of Warpgate that sets X-Forwarded-* headers, set http.trust_x_forwarded_for to true in the config file.

@herewithme
Copy link
Author

@Eugeny thanks for your reply

We don't use a reverse proxy, we make a direct call to warpgate.

I try to add this conf value

http:
  enable: true
  trust_x_forwarded_for: true
  listen: "0.0.0.0:66718"

It doesn't work any better.

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

2 participants