Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to handle multi-tenant authentication? #222

Open
maxinmos opened this issue Sep 2, 2021 · 1 comment
Open

How to handle multi-tenant authentication? #222

maxinmos opened this issue Sep 2, 2021 · 1 comment

Comments

@maxinmos
Copy link

maxinmos commented Sep 2, 2021

In project domain, after users register, other domains will replicate users' info into their database.

I am still not clear how to do if users belong to only one or two domains? For example, with streaming platform, it includes identity, advertising and streaming domains. However, there are very few accounts use the function of advertising.

@kadmis
Copy link

kadmis commented Sep 4, 2021

I suppose you could separate user registered events by the user role? That way your modules subscribe only to events of one type of user and you may then apply different behavior based on the user role.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants