此错误在 Google 和 Facebook 上表现相似。在我的配置中,nginx 里有一行:
# proxy_set_header X-Forwarded-Proto $https;
将其修改为:
proxy_set_header X-Forwarded-Proto $scheme;
之后错误便消失了。
解决方案是在阅读此主题后找到的:Redirect URI mismatch in Google Auth
此错误在 Google 和 Facebook 上表现相似。在我的配置中,nginx 里有一行:
# proxy_set_header X-Forwarded-Proto $https;
将其修改为:
proxy_set_header X-Forwarded-Proto $scheme;
之后错误便消失了。
解决方案是在阅读此主题后找到的:Redirect URI mismatch in Google Auth