invalid_request error on AWS Cognito Custom UI Page

17,674

Solution 1

O-Auth options need to be check as shown in the following picture

oauth options

from https://aws.amazon.com/blogs/aws/launch-amazon-cognito-user-pools-general-availability-app-integration-and-federation/

Solution 2

You need the following in the App client Settings of your user pool:

  • Enable Cognito User Pool as "Identity Provider".
  • Allowed "OAuth Scopes" should have openid enabled.

App client settings

Share:
17,674
Neil
Author by

Neil

Updated on June 15, 2022

Comments

  • Neil
    Neil almost 2 years

    when going to the custom AWS Cognito UI Page:

    https://<your_domain>/login?response_type=code&client_id=<your_app_client_id>

    am getting the following error:

    An error was encountered with the requested page.

    View error

    invalid_request

  • Fernando León
    Fernando León almost 2 years
    You're my hero!!!
  • Sandeep Dixit
    Sandeep Dixit almost 2 years
    Just shared my experiance.