Seq OIDC redirect_uri stays http when deployed behind reverse proxy #2495
-
|
I’m running Seq 2024.3 in Docker with the following command: sudo docker run \
--name seq \
-d \
--restart unless-stopped \
-e ACCEPT_EULA=Y \
-e SEQ_BASEURI=https://logs.example.com \
-e SEQ_TRUSTEDPROXIES=0.0.0.0/0 \
-v /home/ubuntu/seq/data:/data \
-p 2370:80 \
-p 5341:5341 \
datalust/seqSeq sits behind a Caddy reverse proxy that terminates TLS: OpenID Connect is provided by https://auth.example.com. The client registration at the auth server uses the redirect URI https://logs.example.com/oidc/callback. Despite setting SEQ_BASEURI, Seq still generates authorization requests with an http:// redirect URI: As a result, the authorization server rejects the request because only the HTTPS redirect URI is registered.
Is there any way to force Seq to honour the HTTPS base URI (or explicitly set the OIDC callback), or guidance on verifying that Caddy is forwarding the required headers so Seq will treat the external scheme as HTTPS? Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
Have a look at the Seq OIDC docs. Try setting |
Beta Was this translation helpful? Give feedback.
Have a look at the Seq OIDC docs. Try setting
SEQ_API_CANONICALURI.