fix(32.2): WR-06 check the consent provider's redirect against the request's redirect URI
cabana loads the pending request on both decisions and refuses (500) a Decide answer whose scheme, user info, host, path or opaque part differ from the registered redirect URI. The admin SPA also refuses blob:, file:, about: and filesystem: and a destination that does not return to the host the consent card showed. Regenerated the admin OpenAPI document and rebuilt modules/boardwalk/dist.
This commit is contained in:
@@ -343,6 +343,10 @@ type MCPPersonalTokenResolver interface {
|
||||
// and owns the scope policy: it shows only requested scopes the
|
||||
// administrator can grant and filters a decision the same way before it
|
||||
// calls MCPAdminConsentDecide, so the provider only resolves and issues.
|
||||
// The framework also loads the request before either decision and refuses
|
||||
// a redirect URI from MCPAdminConsentDecide that does not go back to its
|
||||
// RedirectURI (same scheme, user info, host and path; the query and
|
||||
// fragment may differ).
|
||||
//
|
||||
// MCPAdminConsentShow answers the pending request requestID for the
|
||||
// administrator adminID; a missing, expired, used or foreign request is
|
||||
|
||||
Reference in New Issue
Block a user