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
367 stars 63 forks source link

Ask either cognitoIdpEndpoint or userPoolId #204

Closed ottokruse closed 1 day ago

ottokruse commented 1 day ago

Issue #, if available: N/A

Description of changes: Don't force users to provide cognitoIdpEndpoint if they already provide user pool id.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.