Sign In with Device
Cotter's iOS SDK offers the easiest way to integrate "Sign in with device" to your ios app. You can simply call a function and it does most of the heavy lifting and authentication for you.
Overview
What you're building

Steps
Step 1. Import Cotter as a dependency
Step 2. Set allowed Authentication Methods in the Developer Dashboard

Step 3. Creating a User
Registering a new User
Step 4. Initialize Cotter
Step 5. Register this device as a Registered Trusted Device
Step 6. Authenticate from a Trusted Device
Case 1: The current device is a Trusted Device
Verifying JWT TokensCase 2: The current device is not a Trusted Device
Add a New Trusted DeviceLast updated