I'm attempting to use the library and instructions referred to here
to connect to Clio from a google apps script.
I'm getting as far as getting to the Clio authorization page, where I can click to say "yes, authorize" but I'm immediately getting an error message back:
"The state token is invalid or has expired. Please try again."
I'm a little out of my depth, here, so not even sure where to go next. Any help would be appreciated.
I'm also eventually going to want to be able to run the app without user intervention, and have it remember the authorization it receives so it can keep making requests. But for development purposes I'm willing to solve one problem at a time. :)