iOS – Sign in with Device
Cotter's Passwordless SDK authenticates your user using the FIDO protocol. It allows a seamless, fast, and secure way for your user to login to your iOS App. Authenticate your users in 4 simple steps:
Sign in with Device
Step 1: Import Cotter as a dependency
Step 2: Initialize Cotter
import Cotter // IMPORTANT: IMPORT COTTER AS DEPENDENCY
...
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
Cotter.configureWithLaunchOptions(
launchOptions: launchOptions,
apiSecretKey: <your-secret-key>,
apiKeyID: <your-api-id>
)
}Step 3: Register your user
Step 4: Logging in
👉 Next steps
Integrate Cotter's push notification services
Push NotificationVerify User's Email or Phone Number
Sign In with Email/Phone NumberLast updated