LinkedIn OAuth2 / oauth / v2 / accessToken响应未返回“令牌类型”

问题描述 投票:3回答:1

我正在使用spring-security-oauth2-client在我的项目中进行身份验证,但是库期望在对https://www.linkedin.com/oauth/v2/accessToken的POST请求的响应中出现“ token_type”。该库是按照OAuth2约定构建的,但是LinkedIn并未遵循此约定。 AccessToken约定:https://tools.ietf.org/html/rfc6749#section-5.1

有人能解决此问题吗?我暂时克隆了spring-security-oauth2-client的子库之一,以强制将“ token_type”设置为“ Bearer”。

java oauth-2.0 linkedin access-token spring-security-oauth2
1个回答
0
投票

已报告herehere此问题。 here建议的jgrandja修复程序正在起作用。

© www.soinside.com 2019 - 2024. All rights reserved.