Skip to content

Conversation

chenrujun
Copy link
Contributor

@chenrujun chenrujun commented Aug 6, 2021

Now we have requirement to support self-defined AuthorizationGrantType.
But the AuthorizationGrantTypeConverter does not support self-defined AuthorizationGrantType.
So I created this PR.

Here is our code bout self-defined AuthorizationGrantType: https://github.com/Azure/azure-sdk-for-java/blob/c822f9da53ef9796e0ae302ade875f8ba7668998/sdk/spring/azure-spring-boot/src/main/java/com/azure/spring/aad/AADAuthorizationGrantType.java#L14-L15

@chenrujun
Copy link
Contributor Author

Hi, @jgrandja , @jzheaux , @eleftherias .
Could you please help to review this PR?

@jgrandja
Copy link
Contributor

Thanks for the PR @chenrujun. Please add a test and we'll get this merged.

@jgrandja jgrandja added in: oauth2 An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose) type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Aug 11, 2021
@jgrandja jgrandja added this to the 5.6.0-M2 milestone Aug 11, 2021
@chenrujun
Copy link
Contributor Author

@jgrandja.
Thank you for your review, I updated the test.

@rwinch rwinch modified the milestones: 5.6.0-M2, 5.6.0-M3 Aug 16, 2021
@chenrujun
Copy link
Contributor Author

Hi, @jgrandja. Could you please merge this PR?

@jgrandja jgrandja changed the title Make AuthorizationGrantTypeConverter support self defined AuthorizationGrantType. Make AuthorizationGrantTypeConverter support custom grant type Aug 19, 2021
@jgrandja jgrandja closed this in 9b4ddd7 Aug 19, 2021
@jgrandja
Copy link
Contributor

Thanks for the updates @chenrujun. This is now in main.

@chenrujun
Copy link
Contributor Author

@jgrandja, thank you.

@chenrujun chenrujun deleted the make-ClientAuthenticationMethodConverter-support-self-defined-AuthorizationGrantType branch August 20, 2021 01:31
akohli96 pushed a commit to akohli96/spring-security that referenced this pull request Aug 25, 2021
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