How it works

There are several different cases for user registration and login, and we're going to cover them all:

Registration

When a user registers to your app, you can immediately call Cotter's SDK to register the mobile device as a Trusted Device. This way, the user's account can now be accessed from the trusted device without needing a password.

Login from a Trusted Device

Logging in from a trusted device is instant. Your users can immediately access their account without doing anything. Your app can optionally require Biometric/PIN to make it more secure.

Login from a Non-Trusted Device

If your user try to login from a different phone, or from a web browser, then they will receive a prompt in their Trusted Device, asking them to approve the login request. Once approved, the user can access their account from Non-Trusted Device. But this doesn't mean that the new device is now a trusted device. Subsequent logins from a Non-Trusted Device will always require approval, even when approved.

Registering a New Device as a Trusted Device

The user can register another device as an additional Trusted Device. The Trusted Device will need to scan a QR Code shown in the other device to explicitly register that other device as a Trusted Device.

Once the new device is registered as a Trusted Device, the user can now access their account from both devices with ease.

Quickstarts

pageReact Native – Sign in with DevicepageFlutter – Sign in with DevicepageiOS – Sign in with Device

SDK Reference

React Native

pageSign In with Device

Flutter

pageSign In with Device

iOS

pageSign In with Device

Android

pageSign In with Device

Last updated