UserStore multitenancy
See original GitHub issueI am wondering whether it is possible to use saaskit
with asp net identity in such a way that each tenant has its own user store.
I have created a custom user store in a way that is somewhat similar to this blog post. However I am using AspNet Identity Core.
Any suggestion?
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Simple approach to multi-tenancy with Identity Framework. ...
I'd like to support multi-tenancy in my web api app that uses Identity Framework for authentication. I plan to have a single site...
Read more >Quick and Easy ASP.NET Identity Multitenancy - Scott Brady
The simplest way of making ASP.NET Identity support multitenancy by extending the default Entity Framework implementation.
Read more >hapi-user-store-multi-tenant
Provides some backend data store for identity stuff. This is a work in progress and will change.. Latest version: 2.2.1, last published: 8 ......
Read more >How to Manage Multi-tenancy in an IAM System
This article explores the management of multi-tenancy in an IAM ... data and is naturally segregated as part of segregating the user store....
Read more >Tenants
The goal of multitenancy is to maximize resource sharing by allowing multiple users (tenants) to log in and use a single server/cluster at...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok. So in your case you have multiple clients (mvc and api) and a single identity server which you fork at startup to setup on each URL fragment.
In my case is slightly different. I have a single identity server with an identity implementation which is multitenant enabled. In this setup, every client, as in your case, identifies the tenant and send it to identity server together with the request and the ef implementation is able to authorize the client/user as per the corresponding tenant database data.
Thanks however for your support, it is always interesting to share thoughts and ideas. Moreover I discovered cloudscribe which deserve a look.
The code is here mostly, this would be sooo much nicer to have an Admin page that can add roles, users, tenants… as well in the ASP MVC 5 version.