When calling the logout url …
“GET https://mydomain.auth.us-east-1.amazoncognito.com/logout?
client_id=1example23456789&
logout_uri=https%3A%2F%2Fwww.example.com%2Fwelcome”
The following error could occur:
This is a bug from amazon. The real cause could be the missing registered logout url in the cognito app integration. Go to:
Amazon Cognito -> Users Pools -> your-Appclient-integration -> Allowed sign-out urls
And add your comeback url after signout: