Skip to content

In OAuth2TokenEndpointFilter accessTokenHttpResponseConverter can change to a variable can be set up? This allows for external extension of requirements #1058

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

Closed
luamas opened this issue Feb 2, 2023 · 1 comment
Assignees
Labels
status: duplicate A duplicate of another issue

Comments

@luamas
Copy link

luamas commented Feb 2, 2023

Expected Behavior
You can dynamically adjust the json format of variant oauth2.

Current Behavior
The current format can only be fixed

Context
accessTokenHttpResponseConverter allows custom

if this solution is allowed through. I would like to contribute this code.
Set HttpMessageConverters to public

@jgrandja
Copy link
Collaborator

jgrandja commented Feb 3, 2023

@luamas

authorizationServerConfigurer.tokenEndpoint.accessTokenResponseHandler() provides the ability to customize the OAuth 2.0 Access Token Response parameters.

There is an open issue gh-925 where we are considering simplifying the customization.

Closing this as a duplicate.

@jgrandja jgrandja closed this as completed Feb 3, 2023
@jgrandja jgrandja self-assigned this Feb 3, 2023
@jgrandja jgrandja added status: duplicate A duplicate of another issue and removed type: enhancement A general enhancement labels Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants