title: Google Drive API OAuth 2.0; Error: origin_mismatch
body: <p>I'm having trouble creating a valid google drive API for my website. I may sound like a complete noob, but I created a file called quickstart.html in my main ftp directory and copied and pasted the code from <a href="https://developers.google.com/drive/quickstart-js#step_1_enable_the_drive_api">https://developers.google.com/drive/quickstart-js#step_1_enable_the_drive_api</a> and replaced the client id with my client id, and in my settings I set the Javascript Origins URL to my main url (www.domainname.com), I have a separate index page for that domain, so to access google drive do I just go to <a href="http://domainname.com/quickstart.html">http://domainname.com/quickstart.html</a>? Because when I do that and click "Authorize" I get the google Origin Mismatch error. Can anyone help me please?</p>