Skip to content

Add OIDC_X_FORWARDED_HEADERS environment variable (fixes #5516)#5523

Merged
Alkarex merged 3 commits intoFreshRSS:edgefrom
otaconix:oidc-behind-reverse-proxy
Jul 16, 2023
Merged

Add OIDC_X_FORWARDED_HEADERS environment variable (fixes #5516)#5523
Alkarex merged 3 commits intoFreshRSS:edgefrom
otaconix:oidc-behind-reverse-proxy

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
@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