Open jorisvan-ons opened 1 year ago
Still having this issue, any help would be highly appreciated!
Hi @jorisvan-ons, when you configured your Connected App in Salesforce did you include the scope: "Perform requests at any time (refresh_token, offline_access)"? Without this, there is no way to refresh an expired token
I am using the WebServer authentication method. When I hit the
/authenticate
route everything works fine. However, after some idle time on the server the session/token is expired (I assume). Subsequent API requests are therefore failing with the "No token available" error message.Is there a way for me to programatically authenticate?
Forrest::authenticate()
doesn't work unfortunately.Much appreciated!