ALB Authenticate Rule with Cognito error: OAuth flows must be enabled in the user pool client

0

I have a simple Cognito user pool (no federation) with an app client with all 5 available auth flows enabled:

ALLOW_ADMIN_USER_PASSWORD_AUTH
ALLOW_CUSTOM_AUTH
ALLOW_REFRESH_TOKEN_AUTH
ALLOW_USER_PASSWORD_AUTH
ALLOW_USER_SRP_AUTH

The pool already has AWS-provided domain configured.

When I attempt to integrate it into an authenticate rule for my ALB, I got the following error:

OAuth flows must be enabled in the user pool client

How can I make this work?

2개 답변
0
수락된 답변

I figured out what's wrong. I did not configure a hosted UI for the app client, which is an unlisted requirement for OAuth.

답변함 2년 전
profile picture
전문가
검토됨 한 달 전
0

Hi,

Did you create a domain for the user pool? this is required to enable oauth2 endpoints.

AWS
전문가
답변함 2년 전
  • Yes, I already created a domain. Does it have to be a custom-owned domain? Should I expect to see a DIFFERENT auth flow than the 5 listed ones?

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인