2012-07-14 21 views
0

我正在运行PHP DrEdit示例。为什么在Google云端硬盘用户界面中调用应用时Google云端硬盘中的重定向网址被修改?

当我直接访问我的应用程序时,我可以通过Google进行身份验证。然而,当我试图通过谷歌驱动器的用户界面访问它:通过hiting创建和选择的应用程序,我得到一个400错误

Error: redirect_uri_mismatch 
The redirect URI in the request: http://site.com did not match a registered redirect URI 
Learn more 

重定向的URI在所有的我的配置文件实际上是http://site.com/apphttp://site.com

http://site.com设置的唯一位置是“Javascript起源”,它不会接受http://site.com/app作为有效的网址。

任何人都知道为什么重定向url被修改为http://site.com或者如果有某处我可以修改它?

感谢

回答

相关问题