question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

UserStore multitenancy

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
vdecristofarocommented, Nov 10, 2016

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.

0reactions
papyrcommented, Apr 19, 2017

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found