Infinity ID is an open-source, self-hostable identity provider written in Rust. It implements standard authentication protocols so teams that prefer to own their identity infrastructure — on any cloud or on-premises — have a self-hosted option.
Amazon Cognito is AWS's managed identity service providing user pools, federated identities and MFA, deeply integrated with the AWS ecosystem.
Cognito is deeply integrated with AWS services (IAM, API Gateway, Amplify) and scales as a managed service. Infinity ID is cloud-agnostic and self-hosted — evaluate how tightly your stack is coupled to AWS before choosing.