4 Comments

Hi Shuo, thanks for these articles. Can cognito be used to support auth to multiple apps in the same pool? I would like to start creating multiple react SPA apps (admin, customer, backend etc) on different hostnames and have a user be able to jump between them. I imagine this could be handled by attaching user groups to the same user and having all apps use the same CUP. Does that sound reasonable?

Expand full comment

Yes, it could. But you’d better to generate different app clients for them if you choose to do so.

Expand full comment

Ok thanks. If you are logged in once, you are able to jump between the different app clients? What is the benefit to use multiple clients over a single one?

Expand full comment

1. Yes;

2. I felt since you chose to build ‘multiple app’, you may want to just do it; but using a single app client may not give you any trouble

Love you hear you to share your experience here after you choose your strategy.

Expand full comment