You need to sign in to do that
Don't have an account?
Evan Kennedy
Storing OAuth Credentials for 3rd Party Apps
Hello,
I've got a google script that I'd like to call using an Apex callout from Salesforce.
Now, I know how to implement OAuth authentication into this app. My question is this: is there a native way to store the tokens (refresh, access), or is this something I'd need to do with a custom object or custom setting?
I've got a google script that I'd like to call using an Apex callout from Salesforce.
Now, I know how to implement OAuth authentication into this app. My question is this: is there a native way to store the tokens (refresh, access), or is this something I'd need to do with a custom object or custom setting?
select AccessToken, AppMenuItemId, AppName, CreatedDate, DeleteToken, Id, LastUsedDate, RequestToken, UseCount, UserId from OauthToken
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_oauthtoken.htm
Let me know if this helps by marking it as the best answer.
Thanks!