我正在编写一个带有java脚本的网页,该脚本具有用户登录按钮(谷歌授权),它可以与本指南一起使用:https://developers.google.com/google-apps/calendar/quickstart/js
当我尝试将html页面上传到某个主机(Google云端硬盘主机)并尝试登录时,我收到了这条奇怪的消息:
400. That’s an error.
Error: origin_mismatch
Application: MED
You can email the developer of this application at: *****@gmail.com
Request Details
response_type=token
scope=https://www.googleapis.com/auth/calendar
redirect_uri=postmessage
proxy=oauth2relay541999932
state=259894099|0.2086575188
origin=https://ea071c7be2c73136e3e3e15fda8074457cacd31b-www.googledrive.com
include_granted_scopes=true
client_id=37316297355-ur11ism5dhu378pbfac7k36e3jhbn17u.apps.googleusercontent.com
authuser=0
我应该怎么做才能修复它?非常感谢!