- 新しい順
- 投票が多い順
- コメントが多い順
Hey there!
From what you've described, it sounds like there's a bit of a loop happening during the login process. This typically occurs when Cognito tries to send users back to the right place after they've logged in.
Firstly, head over to the Amazon Cognito console. From there, find your user pool settings. You'll want to navigate to the "App client settings" section. Once you're there, take a look at the "Callback URL(s)" setting.
Make sure that the callback URL listed there is set to the exact URL of your CloudFront distribution where your website is hosted. It should include the "https://" part and everything, like "https://your-cloudfront-domain.com/callback".
By updating this setting to point directly to your CloudFront distribution URL, Cognito should stop redirecting users to the CloudFront distribution domain, hopefully breaking the loop!
Give it a try and let us know how it goes. If you're still having issues after that, you can dive deeper into your Lambda@Edge function to make sure everything is set up correctly.
関連するコンテンツ
- AWS公式更新しました 2年前
- AWS公式更新しました 2年前
Can you elaborate what the lambda code does?