LinkedIn OAuth2 /oauth/v2/accessToken response not returning a “token_type”

情到浓时终转凉″ 提交于 2019-12-11 01:47:25

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!