-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Seperate JWT Token generation #414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the report @GrmpfNarf. Hiding the Rest assured, the I'll assign this to |
The same happens to me, I had to copy-paste |
Hi @jgrandja. |
Thanks for your interest @Erised. I'm going to take this on as it touches on a few different classes and requires some refactoring and deprecation of |
@jgrandja Sure. Not an issue. Is there any other issue that's available ? |
@Erised Let me get back to you next week. I'm playing catch up this week :) |
Expected Behavior
It would be nice when the JWT Token generation from
OAuth2ClientCredentialsAuthenticationProvider
andOAuth2AuthorizationCodeAuthenticationProvider
is moved to a sperate class so I can reuse it e.g. for an custom AuthenticationProviderCurrent Behavior
Currently the JWT Token generation for the Access Token is inside the
authenticate
method of the both classes. To use it in a custom Authenticationprovider I have to copy the logic and everything around e.g. theJwtUtil
and the resolve of the JwtEncoder fromOAuth2ConfigurerUtils.getJwtEncoder(builder)
Context
I'm adding a custom Grant Type by adding a converter to the tokenEndpoint which provides an custom AutenticationToken which will be resolved by the custom AuthenticationProvider.
The text was updated successfully, but these errors were encountered: