Skip to content

Fix open redirect in OIDC IdP login flow - #3921

Open
MauryaQbit wants to merge 1 commit into
fosrl:mainfrom
MauryaQbit:fix/oidc-open-redirect
Open

MauryaQbit wants to merge 1 commit into
fosrl:mainfrom
MauryaQbit:fix/oidc-open-redirect

Conversation

@MauryaQbit

Copy link
Copy Markdown
Contributor

Fixes open redirect where an attacker-controlled redirectUrl was signed into the OIDC state JWT and followed by the client. Sanitizes redirectUrl to relative same-origin paths on both server (generate-url and validate-callback) and client (ValidateOidcToken).

@MauryaQbit
MauryaQbit force-pushed the fix/oidc-open-redirect branch from cf8a758 to a2238e2 Compare October 18, 2026 15:42
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