[JIRA] (JOIDC-111) Support manipulating claims encoded inside authz code and tokens

Henri Mikkonen (Jira) jira at shibboleth.atlassian.net
Fri May 27 13:15:53 UTC 2022


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

Re: Support manipulating claims encoded inside authz code and tokens ( https://shibboleth.atlassian.net/browse/JOIDC-111?atlOrigin=eyJpIjoiYjA1ZjdkYmZhNmRmNDA2ZWFhZTcwZmU3OTNjNTQ4OTIiLCJwIjoiaiJ9 )

Added profile configuration parameters for wiring manipulation function for:

* authorization code claims (authorize -endpoint)
* access token claims (authorize and token -endpoints)
* refresh token claims (token -endpoint)

Similarly to https://shibboleth.atlassian.net/browse/JOIDC-104 , the functions are BiFunctions that produce Map<String,Object> : if the produced Map is non-null, it’ll be used for replacing the existing token claims set contents.

The SWF actions that produce the tokens exploit the functions if they’re set.

TODO:

* Further testing (initial tests implemented for the authorize and token -flow tests)

* Documentation

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

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#100198- sha1:b34c10a )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220527/1973e362/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-9347d471-8629-4939-9090-452d7f95a621
Type: image/png
Size: 341 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220527/1973e362/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-aeb1c1b1-f38a-4f15-94c6-3d833be0afd0
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220527/1973e362/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-1c247de7-c746-4990-8249-b8099b591065
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220527/1973e362/attachment-0005.png>


More information about the commits mailing list