Skip to content

Conversation

HarryKodden
Copy link

The exisiting Flask RP example application was not recoginizing X-Forwarded-* headers properly. For example if you run the example application behind a Treafik Proxy which is terminating TLS, the flask-rp application publishing http:// urls when registering itself at the Flaks-OP Provider instance.
This PR make use of the ProxyFix method to make the flask application acknownledge the forwarded headers properly.
Refer: https://werkzeug.palletsprojects.com/en/stable/middleware/proxy_fix/

@rohe rohe self-requested a review December 31, 2024 07:08
@rohe rohe merged commit 82b6e8f into IdentityPython:main Jan 24, 2025
5 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