问题
I'm using spring-security-oauth2-client for the authentication in my project, but the library expects a "token_type" to be present in the response of the POST-request to https://www.linkedin.com/oauth/v2/accessToken. The library is built following the OAuth2 convention, but LinkedIn is not following this convention. The AccessToken convention: https://tools.ietf.org/html/rfc6749#section-5.1
Does anyone have a fix for this problem? I temporarily cloned one of the child libraries of spring-security-oauth2-client to force the "token_type" to be "Bearer".
来源:https://stackoverflow.com/questions/51745792/linkedin-oauth2-oauth-v2-accesstoken-response-not-returning-a-token-type