Google Sheets oAuth2 library authentication error: ERROR_invalid_redirect_uri
Hi there -
However a grant token is not returned, and the authorisation url returns a "ERROR_invalid_redirect_uri" message.
Can you confirm that i should be able to authenticate using this library, and if so can you suggest how to resolve ? Here are some of the connection parameters i have been trying.
function getZohoService() {
return OAuth2.createService('Zoho')
.setClientId(CLIENT_ID)
.setClientSecret(CLIENT_SECRET)
.setCallbackFunction('authCallback')
.setPropertyStore(PropertiesService.getUserProperties())
.setScope('ZohoCRM.users.ALL');
}
Many thanks
Chris Riggs.