๐Ÿ’ฌ Sign In with Email/Phone Number

Sign in faster using a magic link or OTP sent to users via email, SMS, or WhatsApp.

How it works

Users can authenticate using just their email or phone number. On their first time using Cotter, they will be prompted with a verification code.

On subsequent authentication requests through any website, they will be able to instantly get verified without needing a verification code.

First Ever Sign Up

On their first ever signup to a website/app that uses Cotter, the user have to enter a verification code.

First ever signup to a website/app that uses Cotter

1. The user enter their email or phone number

2. They will receive a verification code to their email or phone number.

The user will then enter the verification code.

3. We will send over the data to your backend server and send you a token that contains the user data and a signature.

โœจAt this point, we tie the user's browser or device with their email / phone number. When the user then sign up to another website that uses Cotter, the user don't need to re-verify their email or phone number. Instead, our website or SDK will check if we recognize the device with the credentials, and will automatically go to step 3 above.

Subsequent Logins

After the first signup, anytime the user need to sign-up or login to any website or app that uses Cotter, the user just needs to enter the email or phone number they want to use, and they'll be instantly verified.

On subsequent logins, the user don't need to enter verification code

1. The user enter their email or phone number

2. The user is already verified, and can continue their registration or login ๐ŸŽ‰

Currently our sessions lasts for 30 days. After 30 days, the user have to re-enter a verification code.

In the near future, we will allow you to check the last login timestamp and decide whether you'd like to send another verification code or not.

Quickstarts

Guides

Web

React Native

iOS

Android

Other Mobile Apps

โ€‹

โ€‹