I've deployed a simple Flask app on ECR>ECS>Fargate. The app is being loaded by Application Load Balancer and Cognito is used for authentication.
My callback url is https://ApplicationLoadBalancer's DNS/oauth2/idpresponse
If I try https://ApplicationLoadBalancer'sDNS everything works, sign in page pop up and I'm able to login without any issues.
But if I try to use https://.auth.us-east-1.amazoncognito.com as setted under Domain Name in Cognito I simply get a blank page. If I go further and try https://.auth.us-east-1.amazoncognito.com/login I get 'Required String parameter 'client_id' is not present'
Any help is greatly appreciated.
Thank you!