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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南