Does simple_salesforce handle refreshing sessions for you?

24 views Asked by At

At the moment, I have a Python app that's making API calls to Salesforce using the simple_salesforce SDK. I'm using basic auth at the moment, and occasionally hit Salesforce's limit of 3,600 logins per hour.

My question is, if I were to move to a JWT method of authentication, would the simple_salesforce SDK handle refreshing the session for me automatically? Or, would I need to store the session ID on my end, and fetch another session once that's expired?

I can see that support for "automatic session refresh" was added in version 1.12.5, but I'm a little unsure if this feature is exactly what I'm hoping it to be.

0

There are 0 answers