本文介绍了redirect_uri的参数值无效:方案丢失:/auth/google_auth_code/callback的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我使用完整的网址(例如` http://localhost:8080/auth/google_auth_code/callback),我收到以下错误消息:

  {错误":"redirect_uri_mismatch"} 
解决方案

似乎是护照Google的错误,您可能会在这里看到: https://github.com/jaredhanson/passport-google-oauth/issues/21

他们在此问题中的使用建议: https://github.com/sqrrrl/护照-google-plus

它是开源的工作方式,您必须自行修复或寻找另一个软件包.

If I use the full url (e.g. `http://localhost:8080/auth/google_auth_code/callback) I get the following error:

{
  "error" : "redirect_uri_mismatch"
}
解决方案

Seems to be passport-google bug, as you may see it here:https://github.com/jaredhanson/passport-google-oauth/issues/21

What they suggest in this issues to use: https://github.com/sqrrrl/passport-google-plus

Its how open source works, you have to either fix it your self or find another package.

这篇关于redirect_uri的参数值无效:方案丢失:/auth/google_auth_code/callback的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-20 16:50