Configure oauth2.0 key for google api

I am trying to run the sample DrEdit application listed on the Google Drive API page in my appspot domain. I can not do it.

I am confused about how to create a key for a web application. What should be populated in the "Web source" and what should be populated with "redirect_url".

If I put " http://www.my-domain-name.appspot.com " in both fields to generate the key. It gives a redirect_url mismatch error.

Redirect_url, created on an earlier google api website, is different in that it creates redirect_url from "my-domain-name.appspot.com/ouath2callback" (I did not put www because I have insufficient reputation: p). I am confused about what needs to be placed in the appropriate fields when creating the key. Please, help.

Thank you
Gaurav

+4
source share
1 answer

You need to have http://www.my-domain-name.appspot.com "registered as a redirect URI to the API Console .

+1
source

All Articles