I am writing a web page with java script that has a user log in button (google authorization) and it works fine with this guide: https://developers.google.com/google-apps/calendar/quickstart/js
When I tried to upload the html page to some host (Google drive host) and try to log in I get this odd message:
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
What should I do to fix it? Thanks a lot!