3
votes

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".

1

1 Answers

1
votes

This issue has already been reported here and here. The fix proposed here by jgrandja is working.