Skip to content

Overview⚓︎

The nextAuth Mobile SDK can be integrated into mobile apps to authenticate with the nextAuth Server. The nextAuth Mobile SDK keeps track of active sessions and maintains a history list. The SDK manages the accounts the user has with one or more servers and is responsible for all communication with the nextAuth Server(s), the Message Center and the Second Factor Server. It contains all the functionality necessary to start a session by scanning QR codes, by deep links (also known as App Links or Universal Links), by push logins and by AppLogins. QR codes and deep links can be used both to log in and to register accounts. The Mobile SDK also includes a QR code scanner as well as a security-focused PIN container class that can be used by your application.

The Mobile SDK is available for both Android (6.0 and above) and iOS (15 and above).

Version 3 of the Mobile SDK introduces the concept of user interaction flows. Whenever a Flow is started with the Mobile SDK, the Mobile SDK will return updates which contain the information that should be requested from the user, the result of the Flow or the error that occurred. In version 3 it remains possible to use the older way of working with the user interactions that was used in version 2 by setting the configuration parameter legacyUserInteraction to true. See v2 to find out how to work with version 2-style user interactions.