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

Login loop when working behind proxy #377

Open
AlexShemeshWix opened this issue Jan 13, 2022 · 1 comment
Open

Login loop when working behind proxy #377

AlexShemeshWix opened this issue Jan 13, 2022 · 1 comment

Comments

@AlexShemeshWix
Copy link

Hi
Ive implemented small service that uses Flask-Dance for google auth.
It works locally. But when i deploy it to my company datacenter, and try to login it redirects me to the google profile selection infinitely.
The only custom thing that differs from your tutorial is addition of Proxy fix because datacenter is behind proxy.

app.wsgi_app = ProxyFix(app.wsgi_app, x_for=1, x_host=1)

How can i debug this situation?
Thanks

@janpeterka
Copy link

Having the same issue here.

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