How to design a multi-tenant Login architecture with Cognito custom domains?

0

I need to design a multi-tenant architecture (1 user pool per tenant) in Cognito where the login UI is mapped to a custom domain for each tenant (eg: auth.tenant1.mydomain.com, auth.tenant2.mydomain.com etc). As per documentation, there is a hard resource limit of 4 custom domains per account

The architecture should be scalable for 1000+ tenants. What are the recommendations to achieve this with the custom domain limit per account?

Thanks in advance

AWS
질문됨 4달 전389회 조회
1개 답변
0

If you need several custom domains for each tenant, as you say, you cannot overcome the hard limit of 4.

For this reason, and to scale this, you may want to consider bypassing the Cognito login UI approach and hold it yourself with for instance Amplify in conjunction with Cognito and SAML: https://aws.amazon.com/blogs/security/use-saml-with-amazon-cognito-to-support-a-multi-tenant-application-with-a-single-user-pool/

Hope it helps

profile picture
전문가
답변함 4달 전
profile picture
전문가
검토됨 2달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠