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 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), Message Center and Second Factor Server. It has all functionality to start a session by scanning QR codes, deep linking (app linking), push logins and AppLogins. QR codes and deep links (app links) can be used to both login and register accounts. The Mobile SDK also includes a QR code scanner and a secure PIN pad.

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 an 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. However, version 3 still supports the way of working of version 2 when setting the following configuration parameter: legacyUserInteraction to true. See v2 for the the documentation specific to the way of working of version 2.