[JIRA] (JOIDC-155) Documentation lacks clear description of interaction between introspection and audience
Pierre Sagne (Jira)
jira at shibboleth.atlassian.net
Fri May 5 13:21:01 UTC 2023
Pierre Sagne ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3Ab389f93c-082f-42b2-8684-ac3e951ab163 ) *created* an issue
IdP Plugin - OIDC OP ( https://shibboleth.atlassian.net/browse/JOIDC?atlOrigin=eyJpIjoiNGVjOWMyZmExZjYxNDE1ZGI1MDY0ZmM2NWFkNjY4YzgiLCJwIjoiaiJ9 ) / Documentation ( https://shibboleth.atlassian.net/browse/JOIDC-155?atlOrigin=eyJpIjoiNGVjOWMyZmExZjYxNDE1ZGI1MDY0ZmM2NWFkNjY4YzgiLCJwIjoiaiJ9 ) JOIDC-155 ( https://shibboleth.atlassian.net/browse/JOIDC-155?atlOrigin=eyJpIjoiNGVjOWMyZmExZjYxNDE1ZGI1MDY0ZmM2NWFkNjY4YzgiLCJwIjoiaiJ9 ) Documentation lacks clear description of interaction between introspection and audience ( https://shibboleth.atlassian.net/browse/JOIDC-155?atlOrigin=eyJpIjoiNGVjOWMyZmExZjYxNDE1ZGI1MDY0ZmM2NWFkNjY4YzgiLCJwIjoiaiJ9 )
Issue Type: Documentation Assignee: Henri Mikkonen ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1614c4a5-c89e-4edc-9421-990bd6ea85fd ) Components: Introspection Endpoint Created: 05/May/23 9:21 AM Priority: Trivial Reporter: Pierre Sagne ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3Ab389f93c-082f-42b2-8684-ac3e951ab163 )
On latest versions of the plugin, calling the introspect endpoint as a client (client1) with a token obtained by another client (client2) fails unless :
* client2 has the clientId of client1 in the audience parameter of his json or xml declaration
* In the call to authorize by client2, the clientId of client1 is also passed in the audience parameter
I failed to find this information in the documentation, and this is only what i have found by trial/error.
Also, something that may be considered as a bug is that the value passed to the audience parameter in both cases (declaration of the client and call to authorize) must be a URI, which is not the case of the clientId.
Maybe my deductions are false and what should be passed in the audience is not the clientId but something else, but I can’t see what.
( https://shibboleth.atlassian.net/browse/JOIDC-155#add-comment?atlOrigin=eyJpIjoiNGVjOWMyZmExZjYxNDE1ZGI1MDY0ZmM2NWFkNjY4YzgiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JOIDC-155#add-comment?atlOrigin=eyJpIjoiNGVjOWMyZmExZjYxNDE1ZGI1MDY0ZmM2NWFkNjY4YzgiLCJwIjoiaiJ9 )
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#100225- sha1:7f918b6 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230505/4fdd9f88/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-b723cc73-001a-4a75-8ce8-c3d0f80683e5
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230505/4fdd9f88/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-71a0b019-4db3-44f9-b03e-a388463b114a
Type: image/png
Size: 446 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230505/4fdd9f88/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-096951e1-2565-4c11-a5af-537a646eafe2
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230505/4fdd9f88/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-22a63b02-d924-462a-83a3-8e9cf26ac22d
Type: image/png
Size: 296 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230505/4fdd9f88/attachment-0007.png>
More information about the commits
mailing list