OAuth / OpenID Connect

Getting Error: an authentication flow is not enabled while configuring Cognito as an OAuth provider

276 views October 13, 2022 vaishali 2

This error has probably occurred because you might not have enabled the following checkboxes while configuring the App client in Cognito User Pool.

  • “Enable username password auth for admin APIs for authentication (ALLOW_ADMIN_USER_PASSWORD_AUTH)”checkbox.
  • “Enable username password-based authentication (ALLOW_USER_PASSWORD_AUTH)” checkbox.

Was this helpful?