aws-samples / amazon-cognito-passwordless-auth

Passwordless authentication with Amazon Cognito: FIDO2 (WebAuthn, support for Passkeys), Magic Link, SMS OTP Step Up
Apache License 2.0
374 stars 67 forks source link

Integration with Flutter App #93

Open daenamcclintock opened 1 year ago

daenamcclintock commented 1 year ago

I've integrated this package successfully with a web app for magic link authentication and am now building a flutter app that will need to use the same Cognito user pool. Is there an example somewhere of flutter integration that I can use for reference when building my mobile app?

ottokruse commented 1 year ago

Unfortunately not!

You'd have to implement the client piece yourself. I.e. similar to our JS code here: https://github.com/aws-samples/amazon-cognito-passwordless-auth/blob/main/client/magic-link.ts

Should you walk that path and get to a working code sample, please let us know and we can see if we could document it here or link to it.