-
Notifications
You must be signed in to change notification settings - Fork 6k
Add support for any data type in Access Token Response #9685
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
hi @jgrandja are you working on it |
@mychaint Yes, I'll be taking this one. The change required here is not as simple as it looks. I will need to We can't simply change I've scheduled this for |
Changed the converter used to convert a map into an OAuth2AccessTokenResponse to support any object as the value, including json numbers and nested objects. In order to keep MapOAuth2AccessTokenResponseConverter backwards compatible, it now implements Converter<String, ?> instead of Converter<String, Object>, which allows it to convert a Map of String -> any other type. Closes gh-9685
Changed the converter used to convert a map into an OAuth2AccessTokenResponse to support any object as the value, including json numbers and nested objects. Also deprecated old setters/constructors and added new setters/factory methods. Closes gh-9685
Changed the converter used to convert a map into an OAuth2AccessTokenResponse to support any object as the value, including json numbers and nested objects. Also deprecated old setters/constructors and added new setters/factory methods. Closes spring-projectsgh-9685
Changed the converter used to convert a map into an OAuth2AccessTokenResponse to support any object as the value, including json numbers and nested objects. Also deprecated old classes/setters and added new classes/setters. Closes gh-9685
Changed the converter used to convert a map into an OAuth2AccessTokenResponse to support any object as the value, including json numbers and nested objects. Also deprecated old classes/setters and added new classes/setters. Closes gh-9685
Changed the converter used to convert a map into an OAuth2AccessTokenResponse to support any object as the value, including json numbers and nested objects. Also deprecated old classes/setters and added new classes/setters. Closes spring-projectsgh-9685
The
expires_in
parameter in an OAuth 2.0 Access Token response should be a JSON number.As per spec, in section 5.1 Successful Response:
Sample response:
OAuth2AccessTokenResponseHttpMessageConverter
should supportConverter
's that operate onMap<String, Object>
NOT the currentMap<String, String>
.The text was updated successfully, but these errors were encountered: