【问题标题】:LinkedIn OAuth2 /oauth/v2/accessToken response not returning a "token_type"LinkedIn OAuth2 /oauth/v2/accessToken 响应未返回“token_type”
【发布时间】:2019-01-15 15:59:07
【问题描述】:

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

有人能解决这个问题吗?我临时克隆了 spring-security-oauth2-client 的其中一个子库来强制“token_type”为“Bearer”。

【问题讨论】:

    标签: java oauth-2.0 linkedin access-token spring-security-oauth2


    【解决方案1】:

    herehere 已报告此问题。 jgrandja 提出的修复 here 正在运行。

    【讨论】:

      猜你喜欢
      • 2013-08-28
      • 1970-01-01
      • 1970-01-01
      • 2021-11-14
      • 1970-01-01
      • 2012-05-03
      • 2018-08-26
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多