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

Add OIDC_X_FORWARDED_HEADERS environment variable (fixes #5516) #5523

Merged
merged 3 commits into from Jul 16, 2023

Conversation

otaconix
Copy link
Contributor

The mod_auth_oidc needs an additional directive (OIDCXForwardedHeaders) in case FreshRSS is running behind a reverse proxy, so it knows what host, protocol and port were used to access it. This information is then used in the redirect_uri when directing the user agent (browser) to the identity provider for authentication.

Please note that, if you are running FreshRSS behind a reverse proxy that handles TLS, you may need to update your identity provider's configuration so it accepts https://... as a redirect_uri.

Closes #5516

Stefan Zwanenburg added 2 commits July 11, 2023 21:59
The mod_auth_oidc needs an additional directive (`OIDCXForwardedHeaders`)
in case FreshRSS is running behind a reverse proxy, so it knows what host,
protocol and port were used to access it. This information is then used
in the `redirect_uri` when directing the user agent (browser) to the identity
provider for authentication.

Please note that, if you are running FreshRSS behind a reverse proxy that
handles TLS, you may need to update your identity provider's configuration so
it accepts `https://...` as a `redirect_uri`.
@Alkarex
Copy link
Member

Alkarex commented Jul 16, 2023

Thanks for the quick fix 👍🏻

@Alkarex Alkarex merged commit a066be9 into FreshRSS:edge Jul 16, 2023
1 check passed
@Frenzie Frenzie mentioned this pull request Sep 17, 2023
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] Add Support For OpenID Connect (OIDC) Reverse Proxy Configurations To The Docker Image
2 participants