In-depth Knowledge
Brite on native app or mobile
In this section, we detail how to integrate Brite’s solution on native app or mobile web applications.
Single sign
To enable the “remember me” feature you need to support cross-session cookies in the WebView. This will enable single sign flow in the client for returning users, i.e. returning users would only have to identify once with BankID.
Authentication
Make sure to use the deeplink_redirect parameter in the api when creating the session. This parameter enables the end user to automatically redirect back to your application after the BankID flow is completed. To make sure users are automatically send back to the Brite client, please supply the following values in the deeplink_redirect
- The URL to your app (when using the Brite client in one of your apps)
- The URL to the browser app (when using the Brite client in a mobile web browser)
The App URL would probably look something like: <myapp>:/// This url would need to be registered in your native app.
Note!
That this deeplink_redirect can also be used for mobile device users identifying via BankID to be directed back to your mobile website.
Native app whitelist
When developing a native app the native app must allow for third party identification applications to be open automatically.
These are:
Sweden: BankID
Finland:
Nordea: nordeamta://
Danske Bank: danskeid://
Handelsbanken: shb-digitalid://