[JIRA] (JOIDC-79) Claims-parameter in the authn request only affects attribute filtering

Henri Mikkonen (Jira) jira at shibboleth.atlassian.net
Fri Mar 11 13:50:02 UTC 2022


Henri Mikkonen ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1614c4a5-c89e-4edc-9421-990bd6ea85fd ) *created* an issue

IdP Plugin - OIDC OP ( https://shibboleth.atlassian.net/browse/JOIDC?atlOrigin=eyJpIjoiN2M3NWU3YzQxNGMyNDdjN2I1MDE2NWE5M2NmNmZlNWMiLCJwIjoiaiJ9 ) / Bug ( https://shibboleth.atlassian.net/browse/JOIDC-79?atlOrigin=eyJpIjoiN2M3NWU3YzQxNGMyNDdjN2I1MDE2NWE5M2NmNmZlNWMiLCJwIjoiaiJ9 ) JOIDC-79 ( https://shibboleth.atlassian.net/browse/JOIDC-79?atlOrigin=eyJpIjoiN2M3NWU3YzQxNGMyNDdjN2I1MDE2NWE5M2NmNmZlNWMiLCJwIjoiaiJ9 ) Claims-parameter in the authn request only affects attribute filtering ( https://shibboleth.atlassian.net/browse/JOIDC-79?atlOrigin=eyJpIjoiN2M3NWU3YzQxNGMyNDdjN2I1MDE2NWE5M2NmNmZlNWMiLCJwIjoiaiJ9 )

Issue Type: Bug Affects Versions: 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4 Assignee: Henri Mikkonen ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1614c4a5-c89e-4edc-9421-990bd6ea85fd ) Created: 11/Mar/22 8:50 AM Priority: Trivial Reporter: Henri Mikkonen ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1614c4a5-c89e-4edc-9421-990bd6ea85fd )

As reported by Simone Avogadro ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A60a84ee1-4961-471b-99d8-f67c05e24403 ) on Slack, the use of claims -parameter does not always produce expected behaviour from the OP plugin. For instance, with the following value for the claims-parameter:

{"id_token":{"family_name":{"essential":true }}} 

It’s expected that the family_name claim would end up being in the id_token claims - naturally assuming that the family_name is not filtered out for the RP who's doing the request.

We already have an attribute filter matcher ( xsi:type="oidc:AttributeInOIDCRequestedClaims" ) for enabling filtering rules that catch the requested claims as they should, but currently neither the UserInfo response nor id_token population phases are connected to requested claims at all. They only exploit the profile configuration properties for deciding when to include a claim to the response or id_token.

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

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#100197- sha1:b96bc1b )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20220311/b6d233cf/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-37f78345-6704-4ef4-8c74-8eb1c8616bca
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220311/b6d233cf/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-556ff5d5-dde9-4780-8db2-f16b0f04be06
Type: image/png
Size: 563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220311/b6d233cf/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-527512df-4473-4745-adbe-20f28b138e07
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220311/b6d233cf/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-589a857b-9599-41a5-9ae6-9a1e9c4161bc
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20220311/b6d233cf/attachment-0007.png>


More information about the commits mailing list