Custom Login Flow: AWS Cognito SSO (via Passwordless Signin) - Is this possible?

Hi Jay,

Thanks for the reply.

To clarify.

The flow on our app (not discourse) is passwordless - user enters email → receives a 6 digit code in email → enters code → signs in

To enable this we have lambda triggers that define/create and verify the auth challenges. Further, the ui is custom (i.e. not provided by aws amplify)

What we want is the discourse sign in process to be the same. I attempted to use the same cognito app client configuration for discourse but get this error page


(the network call isn’t very helpful from cognito about this error)