Loading

Test Your App for RTR After Upgrading to MSDK 14.0

Udgivelsesdato: Oct 8, 2026
Beskrivelse

Refresh Token Rotation (RTR):

 

To test RTR on your app:

  1. Turn on refresh token rotation for the external client app (ECA) or connected app (CA) that your test build uses. We recommend a cloned copy of your production CA or ECA rather than the production app itself. See Refresh Token Rotation.

  2. Force a token refresh, then send concurrent requests. Loading screens while the access token is still valid doesn't trigger a refresh. First make the access token invalid: expire or revoke it, or wait for the session timeout to pass. Then send several requests at once, for example by quickly loading several screens or starting a sync.

  3. Confirm that the user isn't logged out. Repeat step 2 at least once more and confirm that the user still isn't logged out. Each later refresh uses the rotated refresh token, so this shows that rotation works.

  4. Test a refresh mid-session. Confirm that the app recovers cleanly if a refresh happens mid-session.

Løsning

Regression:

  • Verify that core app flows—such as data access, logout, reauthentication, and offline sync (if applicable)—behave as expected after the upgrade. 

  • Test your app across the platforms and versions that your users run. If you support both iOS and Android, validate the login flow on each operating system.

Vidensartikelnummer

005461449

 
Indlæser
Salesforce Help | Article