Click here to Skip to main content
15,880,469 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
To get access token through program the smart sheet documentation tells to register the third party application using the Developer tools option which requires "APP URL" and "APP Redirect URL".

My application being a console project how can i specify "APP URL" and "APP Redirect URL".

What I have tried:

I tried access token generated from smart sheet by manually clicking "Generate New Access Token" by going into Account(settings)> Personal Settings> API Access.
But this Access token will expire in 7 days.
Hence i want an access token to be generated through program so that i can Refresh the Token.
Posted
Updated 5-Nov-21 8:13am

 
Share this answer
 
Comments
Member 12485594 29-Jul-17 4:45am    
I have this project but you can see in the project that the access token is already given which is available by manually clicking "Generate New Access Token" by going into Account(settings)> Personal Settings> API Access.

But i don't want access token in this way because its validity is for 7 days, after which i have to generate manually by the same above process and assign new access token.

But i can't just sit and keep modifying my access token after every 7 days. I want it to be generated automatically wherein it would get auto refresh.

And to get that the smart sheet documentation tells to register the third party application using the Developer tools option which requires "APP URL" and "APP Redirect URL".

My application being a console project how can i specify "APP URL" and "APP Redirect URL".
Graeme_Grant 29-Jul-17 5:35am    
This is how OAuth 2.0 works and how you must work with it. You don't have a choice.

What you need to do is follow the documentation and Refresh an Access Token[^]
Are you talking about Client secret expiry or the API token expiry?
The client secret we generate under developer tools will expire in 7 days.
IS the API token we generate under Apps and integration will expire in 7 days too?
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900