Native apps#
BankID supports being implemented in native applications using an external user agent (browser) or equivalent:
- Android: Use a Custom Tab (opens in a new tab).
- iOS: Use either ASWebAuthenticationSession (opens in a new tab) or SFSafariViewController (opens in a new tab).
Bear in mind that a secure backend server is required to handle the authentication response. The backend server should verify the ID token and access token, and then return the result to the native app.