New answers tagged oauth
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 ...
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).
.....
Top 50 recent answers are included
Related Tags
oauth × 313oauth2 × 66
rest-api × 45
connected-apps × 39
api × 37
apex × 36
authentication × 35
rest × 18
single-sign-on × 17
security × 16
community × 13
integration × 13
jwt × 13
canvas × 11
marketing-cloud × 9
callout × 9
curl × 9
mobile × 8
saml × 8
namedcredentials × 8
auth-provider × 8
visualforce × 7
javascript × 7
salesforcedx × 7
login × 7