-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
oidc: reject storage scopes without path
Fixes commit 094c171 Motivation: According WLCG Common JWT Profiles document: For all storage.* scopes, $PATH MUST be specified (but may be /to authorize the entire resource associated with the issuer); if not specified for these scopes, the token MUST be rejected. However, dCache doesn't follow this rule, thus, such scopes are accepted and path is set to '/'. Modification: Update WlcgProfileScope.Operation enum to indicate whatever path is required or optional for a given scope. Require path for all 'storage.*' scopes. Result: spec compatibility and potential security fix. Ticket: #10523 Acked-by: Paul Millar Acked-by: Lea Morschel Acked-by: Dmitry Litvintsev Target: master, 9.2, 9.1, 9.0, 8.2 Require-book: no Require-notes: yes (cherry picked from commit 83d1e77) Signed-off-by: Tigran Mkrtchyan <[email protected]>
- Loading branch information
1 parent
af96f5c
commit 8059c50
Showing
2 changed files
with
33 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters