Authflow gets changed when I call initiateAuth in 'amazon-cognito-identity-js'

36 views Asked by At

I am trying to call initiateAuth method using authflow "USER_PASSWORD_AUTH" but in the request I get "CUSTOM_AUTH". Why is this happening and how to resolve this issue?

Screenshots of my code: 1) enter image description here

2) enter image description here

3) enter image description here

0

There are 0 answers