If Cognito is the AWS offering you're talking about then it doesn't even begin to compete. It's really a terrible product and AWS has misled us about the roadmap multiple times specifically in relation to multi-region support.
When AWS Cognito had it's outage in November, I was quite happy we went with Okta.
When AWS Cognito had it's outage in November, I was quite happy we went with Okta.