function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sai ThejaSai Theja 

How to get a permanent access token for api callouts?

I'm integrating Salesforce to other application(Ruby). I'm able to sync data both ways. But while updating data from Application to salesforce, every time i have to provide access token. So is there any way to get a permanent Access token?
Thank You..
Best Answer chosen by Sai Theja
pconpcon
You can follow the standard OAuth flow to get an access_token and refresh_token.  There should be plenty of Ruby libraries to handle this.  You can also do this flow external to your application and get the token.  It will remain valid until it is revoked.

All Answers

pconpcon
You can follow the standard OAuth flow to get an access_token and refresh_token.  There should be plenty of Ruby libraries to handle this.  You can also do this flow external to your application and get the token.  It will remain valid until it is revoked.
This was selected as the best answer