Skip to content

Fix empty Location header on OIDC error redirects - #129

Merged
route443 merged 1 commit into
mainfrom
fix-redir
Jun 11, 2026
Merged

Fix empty Location header on OIDC error redirects#129
route443 merged 1 commit into
mainfrom
fix-redir

Conversation

@route443

Copy link
Copy Markdown
Contributor

For 302 redirect nginx calls ngx_http_clear_location() and rebuilds the Location header from r.return() body argument, so the manually set header was wiped and replaced with an empty value. Need to pass the redirect URI as r.return()'s second argument.

For 302 redirect nginx calls ngx_http_clear_location() and rebuilds
the Location header from r.return() body argument, so the manually
set header was wiped and replaced with an empty value.
Need to pass the redirect URI as r.return()'s second argument.
@route443 route443 self-assigned this Jun 11, 2026
@route443
route443 merged commit f3706b7 into main Jun 11, 2026
1 check 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.

1 participant