我转到此链接后,其中一个登录API(windows_live)出现此错误:
/登录/ windows_live
我也试过google,yahoo和linkedin,它正在为这些工作。
我以与其他3个相同的方式配置windows live。
这是我的config.yml:
resource_owners:
yahoo:
type: yahoo
client_id: X
client_secret: X
google:
type: google
client_id: X
client_secret: X
scope: "https://www.googleapis.com/auth/userinfo.email https://www.googleapis.com/auth/userinfo.profile"
windows_live:
type: windows_live
client_id: X
client_secret: X
linkedin:
type: linkedin
client_id: X
client_secret: X
scope: r_basicprofile
你知道它可以来自哪里吗?
答案 0 :(得分:2)
我找到了解决方案,文档中缺少范围: https://github.com/hwi/HWIOAuthBundle/blob/master/Resources/doc/resource_owners/windows_live.md
我必须添加它:
windows_live:
type: windows_live
client_id: X
client_secret: X
scope: wl.signin