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
382 stars 70 forks source link

fix: sms otp sent to unverified phone #201

Closed mdesousa closed 1 month ago

mdesousa commented 1 month ago

Issue #199

Description of changes:

phone_number_verified in cognito events is a string, either "true" or "false"

ottokruse commented 1 month ago

Thanks!

If you would just run prettier to get the code formatted per the repo standard we can go ahead.

npx prettier -w .

mdesousa commented 1 month ago

@ottokruse done 👍