Spring Facebook 的社交授权例外
Spring social Authorisation Exception with Facebook
每当有人使用 Facebook 登录时,我的网站突然开始报告此错误:
HTTP Status 500 - Authorization is required for the operation, but the
API binding was created without authorization.
type Exception report
message Authorization is required for the operation, but the API
binding was created without authorization.
description The server encountered an internal error that prevented it
from fulfilling this request.
exception org.springframework.social.MissingAuthorizationException:
Authorization is required for the operation, but the API binding was
created without authorization.
我最近没有更改与 Facebook 登录相关的任何内容,为什么我的网站会突然出现此错误?
Facebook 的 Graph API 版本 2.2(用于此类事情)似乎在 25/3/17 停止可用:参见 https://developers.facebook.com/docs/apps/changelog。因此,尽管我的网站没有任何变化,但行为突然发生了变化。
我的网站使用 spring-social-facebook 库的 v1.1.0。我怀疑这是问题所在,我应该使用 v2.0.3:http://projects.spring.io/spring-social-facebook/。但是,我没有进一步的技能。
每当有人使用 Facebook 登录时,我的网站突然开始报告此错误:
HTTP Status 500 - Authorization is required for the operation, but the API binding was created without authorization.
type Exception report
message Authorization is required for the operation, but the API binding was created without authorization.
description The server encountered an internal error that prevented it from fulfilling this request.
exception org.springframework.social.MissingAuthorizationException: Authorization is required for the operation, but the API binding was created without authorization.
我最近没有更改与 Facebook 登录相关的任何内容,为什么我的网站会突然出现此错误?
Facebook 的 Graph API 版本 2.2(用于此类事情)似乎在 25/3/17 停止可用:参见 https://developers.facebook.com/docs/apps/changelog。因此,尽管我的网站没有任何变化,但行为突然发生了变化。
我的网站使用 spring-social-facebook 库的 v1.1.0。我怀疑这是问题所在,我应该使用 v2.0.3:http://projects.spring.io/spring-social-facebook/。但是,我没有进一步的技能。