What's New in Mobile SDK 13.2
Mobile SDK 13.2 is a minor release that enhances authentication flexibility, enabling developers to seamlessly support multiple environments, roll out new scopes, and dynamically manage OAuth configurations.
Dynamic Scope Retrieval
We no longer require apps to statically define OAuth scopes in their bootconfig file. If you don't specify a list of scopes, the client automatically uses the server-defined scopes, and the user is granted all the configured scopes from the external client app or connected app.
Runtime Consumer Key Selection
You can now dynamically override the consumer key, redirect URI, and scopes at runtime based on the login host the user selects.
Refresh Token Migration
Apps can now seamlessly migrate an active user's refresh token to a new OAuth configuration without requiring the user to log out and log back in. This mechanism facilitates the controlled and incremental adoption of new OAuth settings, such as migrating from standard opaque tokens to JWT-based access tokens, or transitioning from a connected app to an external client app.
AuthFlowTester Sample App and Dev Support Enhancements
We created a sample app called AuthFlowTester, which you can use to test the authentication APIs we added in Mobile SDK 13.2.
Clear WebView Cache from the Login Screen
You can now clear the WebView cache from the login screen’s settings menu on iOS.
Documentation Update
The GitHub documentation has moved from the Apple Docs format to DocC.
DocC improves Swift API coverage and provides a more modern experience that matches Apple’s official developer documentation.
External Component Version Updates
- Cordova command line: 13.0.0
- Npm: 10.0 to latest
- Node: 20.0 to latest LTS
- React Native: 0.81.5
Deprecated APIs
Check your compiler warnings, or see iOS Current Deprecations.