私はユーザープールを作成し、アプリクライアント設定()でドメインを設定して、Cognito自体でサインアップページとサインインページをホストしました。次のようなURLを使用しようとしたとき、
ブラウザでリダイレクトされる
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