Skip to content

Conversation

ch4mpy
Copy link
Contributor

@ch4mpy ch4mpy commented Aug 14, 2023

The current implementation of OAuth2AuthorizedClientId is enough to compare IDs, but I have a use case where I retrieve some if this IDs and need to access the registration ID, which is not possible right now.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Aug 14, 2023
Copy link
Contributor

@jzheaux jzheaux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @ch4mpy. WIll you do me a couple of favors here, please?

  1. Update the copyright year
  2. Add JavaDoc. I realize that getter JavaDoc is sometimes a little cookie cutter; in this case it at least gives a place for a @since attribute.

@ch4mpy ch4mpy force-pushed the authorized-client-id-getters branch from f035c57 to 59ed6e0 Compare February 27, 2024 13:52
@ch4mpy
Copy link
Contributor Author

ch4mpy commented Feb 27, 2024

@jzheaux finally done

Expose getters for principalName and clientRegistrationId which compose an OAuth2AuthorizedClientId
@ch4mpy ch4mpy force-pushed the authorized-client-id-getters branch from 59ed6e0 to 5222e8c Compare February 27, 2024 14:00
@ch4mpy ch4mpy requested review from willns1 and jzheaux March 6, 2024 19:56
@sjohnr sjohnr self-assigned this Apr 18, 2024
@sjohnr sjohnr added type: enhancement A general enhancement in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) and removed status: waiting-for-triage An issue we've not yet triaged labels Apr 18, 2024
@sjohnr sjohnr added this to the 6.3.0 milestone Apr 18, 2024
sjohnr added a commit that referenced this pull request Apr 18, 2024
@sjohnr
Copy link
Contributor

sjohnr commented Apr 18, 2024

Thanks @ch4mpy! This is now merged as b69939c with polish commit 05d3beb.

@sjohnr sjohnr closed this Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants