[JIRA] (JOIDC-6) Release policy for OAuth2 scope values based on IdPAttributes

Henri Mikkonen (Jira) jira at shibboleth.atlassian.net
Fri Jun 17 10:53:58 UTC 2022


Henri Mikkonen ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1614c4a5-c89e-4edc-9421-990bd6ea85fd ) *commented* on JOIDC-6 ( https://shibboleth.atlassian.net/browse/JOIDC-6?atlOrigin=eyJpIjoiOTQyZmY3NWZlMGMyNDE3YWIzYTVhNTJmZTQwMGJjMzUiLCJwIjoiaiJ9 )

Re: Release policy for OAuth2 scope values based on IdPAttributes ( https://shibboleth.atlassian.net/browse/JOIDC-6?atlOrigin=eyJpIjoiOTQyZmY3NWZlMGMyNDE3YWIzYTVhNTJmZTQwMGJjMzUiLCJwIjoiaiJ9 )

Created a new action-state in authorize-flow right after DoAuthenticationSubflow: *DoPostAuthValidations*. Moved *ValidateScope* and ValidateAudience there to allow end-user authentication results to be exploited by their functions.

This issue can be tackled by injecting a customised *shibboleth.oidc.AllowedScopeStrategy* function to feed the desired allowed scope.

New class net.shibboleth.idp.plugin.oidc.op.profile.ScopeUtil provides static helper methods for handling Scope objects, especially by the scripted attributes.

( https://shibboleth.atlassian.net/browse/JOIDC-6#add-comment?atlOrigin=eyJpIjoiOTQyZmY3NWZlMGMyNDE3YWIzYTVhNTJmZTQwMGJjMzUiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JOIDC-6#add-comment?atlOrigin=eyJpIjoiOTQyZmY3NWZlMGMyNDE3YWIzYTVhNTJmZTQwMGJjMzUiLCJwIjoiaiJ9 )

Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100201- sha1:07cea57 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220617/a83d89e5/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-37cfd55f-f7da-47cb-bb17-12472a938041
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220617/a83d89e5/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-b55b6374-ddfe-4c31-916d-e017f5cbd634
Type: image/png
Size: 457 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220617/a83d89e5/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-22c0a5a4-91b6-41c3-9ca6-7e6042d9e2d4
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220617/a83d89e5/attachment-0005.png>


More information about the commits mailing list