googleworkspace / apps-script-oauth2

An OAuth2 library for Google Apps Script.
https://developers.google.com/apps-script/
Apache License 2.0
1.56k stars 429 forks source link

"The state token is invalid or has expired" in Zendesk example #449

Open ianhyzy opened 1 year ago

ianhyzy commented 1 year ago

I created a new Oauth app in the Zendesk console and ran the callback function to put the callback URL in. I also entered the client id (Unique identifier in zendesk) and secret to the spaces specified in the example. I run the script and open the authorization URL but get "The state token is invalid or has expired". Did I miss something?

erickoledadevrel commented 1 year ago

Were you using the Zendesk sample code?