我已经使用accounts-facebook建立了facebook登录信息。大部分时间它工作正常,但我还没弄清楚为什么当人们尝试登录时它有时会抛出此错误:
{"line":"431","file":"oauth.js","message":"Error in OAuth Server:
redirectUrl (http://example.com/login/yes/and/none/hZh6a345235f5Rdb
/m2Mzs9nTo654645FBhP) is not on the same host as the app
(https://example.com/)","time":{"$date":1521904059120},"level":"warn"}
我无法重现这一点。
我添加了
"https://example.com/",
"https://example.com/_oauth/facebook",
"https://example.com/login/:var1/and/:var2/:var3/:var4"