Authenticate from a Non-Trusted Device
Step 1: Login from the Non-Trusted Device
Cotter cotter = new Cotter(apiKeyID: API_KEY_ID);
void login(BuildContext context) async {
try {
// π One-line Login
var event = await cotter.signInWithDevice(identifier: inputController.text, context: context);
print(event);
} catch (e) {
print(e);
}
}
Step 2: Approve the login request from the Trusted Device
How does my app know if this device is trusted?
Approving the request

What happens then?
Last updated