aws cognito ユーザープールドメイン - Invalid_Request 質問する

aws cognito ユーザープールドメイン - Invalid_Request 質問する

私はユーザープールを作成し、アプリクライアント設定()でドメインを設定して、Cognito自体でサインアップページとサインインページをホストしました。次のようなURLを使用しようとしたとき、

https://myDomain.auth.us-east-1.amazoncognito.com/login?response_type=code&client_id=fkjfkasjfkasjfdweinfskfsfsfnk&redirect_uri=https://google.com

ブラウザでリダイレクトされる

https://myDomain.auth.us-east-1.amazoncognito.com/error?error=invalid_request#

注: OAuth2 を有効にせずに、Cognito ユーザー プールと Facebook ID プロバイダーを使用しようとしました。

何か見逃しているのでしょうか?

ベストアンサー1

私の場合は、次のユーザー プール設定で動作します。

App integration
    App client settings
        Enabled Identity Providers
            ☑ Facebook  ☑ Cognito User Pool
        Callback URL(s)
            https://google.com
        OAuth 2.0
            Allowed OAuth Flows
            ☑ Authorization code grant  ☐ Implicit grant  ☐ Client credentials
        Allowed OAuth Scopes
            ☐ phone  ☐ email  ☑ openid  ☐ aws.cognito.signin.user.admin  ☐ profile

おすすめ記事