[JIRA] (JOIDCRP-26) Save Access Token and Refresh Token to credential set

Philip Smart (Jira) jira at shibboleth.atlassian.net
Tue May 2 18:04:37 UTC 2023


Philip Smart ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=5afecdc1eb3ffa0c596652c4 ) *created* an issue

IdP Plugin - OIDC RP ( https://shibboleth.atlassian.net/browse/JOIDCRP?atlOrigin=eyJpIjoiZjUzMTlmZTQ3MGIzNDNjYmE2Y2IyNmFiZjA2OGU4MDQiLCJwIjoiaiJ9 ) / New Feature ( https://shibboleth.atlassian.net/browse/JOIDCRP-26?atlOrigin=eyJpIjoiZjUzMTlmZTQ3MGIzNDNjYmE2Y2IyNmFiZjA2OGU4MDQiLCJwIjoiaiJ9 ) JOIDCRP-26 ( https://shibboleth.atlassian.net/browse/JOIDCRP-26?atlOrigin=eyJpIjoiZjUzMTlmZTQ3MGIzNDNjYmE2Y2IyNmFiZjA2OGU4MDQiLCJwIjoiaiJ9 ) Save Access Token and Refresh Token to credential set ( https://shibboleth.atlassian.net/browse/JOIDCRP-26?atlOrigin=eyJpIjoiZjUzMTlmZTQ3MGIzNDNjYmE2Y2IyNmFiZjA2OGU4MDQiLCJwIjoiaiJ9 )

Issue Type: New Feature Assignee: Philip Smart ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=5afecdc1eb3ffa0c596652c4 ) Components: oidc-rp-impl Created: 02/May/23 2:04 PM Priority: Trivial Reporter: Philip Smart ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=5afecdc1eb3ffa0c596652c4 )

After a quick chat with Scott Cantor ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A5b78efc9-1379-42cc-a3f6-56c6ea3a0007 ) about naming, I realised the RP is missing a way to add the access_token and refresh_token to the private credentials during Subject population. Similar to what the AbstractUsernamePasswordCredentialValidator does for passwords. This was discussed before, and I forgot.

The access token response context is available to the validation action, so adding them into the private credentials (if enabled) would not be too hard, although it would probably need a new Principal object to store them. I should be able to do this for the v1 release even if I am a bit late in the day.

( https://shibboleth.atlassian.net/browse/JOIDCRP-26#add-comment?atlOrigin=eyJpIjoiZjUzMTlmZTQ3MGIzNDNjYmE2Y2IyNmFiZjA2OGU4MDQiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JOIDCRP-26#add-comment?atlOrigin=eyJpIjoiZjUzMTlmZTQ3MGIzNDNjYmE2Y2IyNmFiZjA2OGU4MDQiLCJwIjoiaiJ9 )

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#100224- sha1:07bd2b7 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230502/649f883d/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-1626cb77-e682-4ed4-90c6-a66a52ee0d63
Type: image/png
Size: 302 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230502/649f883d/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-b833d79d-0f5f-454d-a9dc-ed75e24bce5f
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230502/649f883d/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-048c2696-3892-43d6-a302-0cd7afe7dcc7
Type: image/png
Size: 446 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230502/649f883d/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-300c3ab9-ad54-40af-b6b4-56e87918e9f1
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230502/649f883d/attachment-0007.png>


More information about the commits mailing list