New answers tagged

1 vote

Maintain session permanently for user signed in through Connected App / Oauth

You should be using the Refresh Token Flow. Refresh tokens can't be used as access tokens, but can have an indefinitely long shelf life, months or even years, if configured to do so. The flow inside ...
user avatar
  • 430k
1 vote

Maintain session permanently for user signed in through Connected App / Oauth

No, but yes. Access tokens are tied to a session for the target user in the target org, and are subject to the org's session timeout policies (which have a maximum value of 24 hours before timeout). .....
user avatar
  • 46.6k

Top 50 recent answers are included