i have developed a google appscript webapp to which i want to add a login using google id option. the web is based on appscript. the html portion is also on appscript. After going through the instruction on the guide page of google oauth i am completely confused. google OAuth is needed only for getting the users details ie email id , name etc
Based on your last comment, I see that you got the error « Error: redirect_uri_mismatch The JavaScript origin in the request, n-tk3g6s4u5jztr6tiwt4qn2j5ze3taoymlgdpaci-0lu-script.googleuser… , does not match the ones authorized for the OAuth client. Visit console.developers.google.com/apis/credentials/oauthclient/… to update the authorized JavaScript origins ». This error appears because you are using a URI not authorized by your current OAuth credentials. You can easily solve that error with the following steps.
+Add URI
).Save
.Now your URI will be authorised and, as a result, you won't encounter the same error. This configuration will be effective in some minutes, but sometimes it could last longer. Don't hesitate to write me back with any additional question.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.