Loading

Upgrade to Salesforce Mobile SDK 14.0 to Avoid Service Disruption from Upcoming Security Mandates

Publiceringsdatum: Oct 8, 2026
Beskrivning

Summary

Salesforce is moving toward mandatory secure authentication for every mobile app. Mobile SDK 14.0 adds support for Refresh Token Rotation (RTR) and DPoP token binding. RTR is being enforced for Salesforce owned apps and ISV apps. DPoP is generally available in Winter '27, and enforcement is tentatively expected in 2027. Upgrade now so your app keeps working when these controls take effect.

Why This Is Urgent

Security control

What it is

Why it is urgent to upgrade to Mobile SDK 14.0

Refresh Token Rotation (RTR)

The server rotates refresh tokens on each use to prevent token reuse. SDK 14.0 hardens the SDK so rotation no longer causes accidental logouts.

RTR on an older SDK - Users may be logged out unexpectedly, but they can log back in.

DPoP token binding 

Cryptographically binds each session's tokens to the device, so a stolen token cannot be used elsewhere.

Once DPoP is required for your app, sessions that use Bearer tokens are rejected. Users can't sign in until they're on a DPoP-capable build and their session is migrated or they log in fresh.

 

Lösning

What You Need to Do

It is critical that apps are upgraded now to ensure a smooth, gradual rollout and enough runway for users to move to the updated app before enforcement begins.

 

  1. Upgrade your app to Salesforce Mobile SDK 14.0 as soon as possible - This positions your app to handle RTR and DPoP before enforcement begins. The security hardening for RTR requires no code changes — it is transparent once you are on 14.0.

  2. Add a call to upgradeToDPoP (for example, when the app comes to the foreground, with no other network calls in flight) so users who are already logged in move to DPoP. If the first 14.0 release ships without this call, another app release is needed before enforcement to ensure your existing logged in users are not logged out.

  3. Optional: Mobile SDK 14.0 uses DPoP by default for new logins. For a staged rollout, you can ship with useDPoP (Android) or usesDPoP (iOS) set to false and turn it on later. This setting doesn't get around a server-side requirement: once DPoP is required for your app, sessions that use Bearer tokens are rejected.

  4. Communicate to your users that they must update to the latest version of your app on their devices - otherwise they will still be on an older, non-compliant build and will be logged out when the mandates take effect. To drive adoption, we recommend in-app messaging that notifies users when a newer version is available or a forced-update mechanism that requires users to update before continuing. This ensures your users move to the compliant build ahead of time rather than relying on them to update on their own.

Recommended Timeline

  • Now: Plan and complete your upgrade to Mobile SDK 14.0. 

  • After release: Publish the updated app and prompt users to update on their devices.

  • Before enforcement: Ensure you have migrated existing sessions to DPoP and the majority of your users are on the updated app. To track adoption, use your app store analytics or in-app analytics.

Ytterligare resurser

Frequently Asked Questions

 

  1. What happens to users already logged in when RTR is turned on? 

If your app is on Mobile SDK 14.0, already-logged-in users are not affected — they stay signed in and do not need to re-authenticate. The 14.0 SDK handles token rotation transparently, so the transition is seamless. If your app is still on an older SDK version when RTR is enabled, those same users may experience unexpected logouts because the older SDK does not handle rotation correctly.

 

  1. What happens to users already logged in when DPoP is turned on? 

If your app is on Mobile SDK 14.0 and calls the SDK’s upgradeToDPoP API, users who are already logged in don’t have to log in again. Their existing session moves to a DPoP-bound session in place, without the user entering their credentials again. Salesforce may show an approval screen; approving it completes the migration. We recommend calling upgradeToDPoP when the app comes to the foreground, at a point when no other network calls are in flight. Migration doesn't happen on its own. If your app never calls upgradeToDPoP, users who logged in before the upgrade stay on Bearer tokens. Once DPoP is enforced, they're logged out with no way to sign back in. If your app is still on an older SDK version, the same thing happens to those users until the app is upgraded to Mobile SDK 14.0.

 

  1. How do I upgrade to Mobile SDK 14.0?

The fastest way to upgrade your app to Mobile SDK 14.0 is to use our upgrade skill. See Upgrade with an Agent Skill.

Knowledge-artikelnummer

005461448

 
Laddar
Salesforce Help | Article