You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 473338a
Browse filesBrowse the repository at this point in the historyBrowse files
fix(sso): admit callbacks under the provider id the plugin resolved (#10054)
* fix(sso): admit callbacks under the provider id the plugin resolved
The SSO plugin looks a callback's provider up by the raw route segment, while
the admission hook percent-decoded it and dropped anything containing a
separator. A provider id like `acme%2Fidp` therefore minted a session the hook
could not name, so admission (domain check, JIT/seat policy, audit) never ran.
- Resolve the callback provider from the exact, undecoded value the plugin used
- Fail closed when an SSO callback mints a session without a resolvable provider
- Restrict provider ids to URL-path-safe characters on v1, v2, and the repository write
* fix(sso): reject dot-segment provider ids and regenerate v2 openapi
* docs(sso): document the shared provider id schema
0 commit comments