I need a way to access a Oauth v1.0 rest API form inside google script. google apps script.
I found this page It says that the Library was sunset in 2015. I tried to add it. When I do I get an error that it's not supported anymore and my script refuses to run.
Error:
Exception: ScriptError Exception: Script is using OAuthConfig which has been shut down. Learn more at https://cloud.google.com/blog/changes-oauth-apps-script [ { function: 'test', lineNumber: 80 } ]
I need to access a external site to download some data. I'm trying to access the data in Gravity Forms.
They are using Oauth v1.0.
I'm able to access the data fine using Postman / Oauth v1.0. However I am unable to find a solution for google apps script.
Can anyone point me in the right direction to get Oauth v1.0 working? Possibly a fully JS option?
The documentation says
The mechanism that was sunset was
UrlFetchApp
'saddOauthService
method(ClassOAuthConfig
).The replacement provided is a open source library here
This library is officially recommended and updated regularly.