Smartsheet app authorization - allow access
Greetings,
Looking for a guidance. As I am developing an application, that updates data to a sheet periodically (every month).
Here, when I send a GET request to https://app.smartsheet.com/b/authorize, with all required parameters, its redirecting to my app's consent page where I have to click on 'Allow' button to proceed further.
I want to get rid of this consent page because its repetitive. Moreover, I am planning to keep my application as crone job which runs every month once.
Any help on this regard is much appreciated.
Thanks in advance.
Answers
-
Hi @Vadivel K
There currently isn't a way to skip over the app authorization page, as this provides your app with specific permissions in Smartsheet (e.g. the permission to add data in a sheet). This consent screen is a requirement for 3rd party applications.
Once you’ve received an authorization code and exchanged it for an access token, the access token expires after about 7 days. This is why you're seeing the need to re-approve every month.
Here's the API documentation on this process: https://smartsheet.redoc.ly/#section/OAuth-Walkthrough/Request-an-Authorization-Code
Cheers,
Genevieve