Questions tagged [multi-tenant]
A principle in software architecture where a single instance of the software runs on a server, serving multiple client organizations (tenants).
3,052
questions
0
votes
1
answer
14
views
Incremental CDC from Postgresql for a subset of rows
I have a postgresql DB which has tables containing multi-tenant data. Example:
Table Customer
CustId
Cust Name
First
CustA
Second
CustB
Table CustomerShoppingDet
Item Name
CustId.
Buying Date
...
0
votes
0
answers
8
views
SpringBoot DataJPA - How to add new datasource objects and configure the entitymanager, transaction manager at runtime
In my multitenancy application, I currently have a spring configuration class containing DataSourceMap which contains the tenants' datasource objects with their tenantId.
At the time of app deployment ...
0
votes
0
answers
26
views
Multi-tenant-Architecture and Second level caching issues (spring, hibernate 5.4.21.Final , multi-tenancy, caching ehcache )
I have implemented multi-tenant datasource to route between the schemas at runtime,our requirements are as follow single instance single database with multiple identical schemas
I will determine the ...
0
votes
0
answers
25
views
How to perform authentication in NextJS for sub & custom domains? (Multi-tenancy)
I'm using this Vercel NextJS-13 multi-tenant template.
It has provided next-auth authentication for the main site (i.e. "app.mydomain.com") from where tenants apps are created and managed.
...
0
votes
0
answers
16
views
Is it possible to implement multi-tenancy in a single realm with different URLs in Keycloak?
I'm attempting to use Keycloak in our applications. I prefer not to create a separate realm for each tenant, as doing so would require adding clients and other realm configurations. I'm exploring ...
0
votes
0
answers
23
views
Managing DNS Configuration for Custom Domains in React/Node Ecommerce Platform [migrated]
I'm currently working on an ecommerce platform built with React and Node.js, similar to Shopify. In our platform, we provide subdomains to store owners upon registration (e.g., subdomain.example.com). ...
0
votes
0
answers
14
views
What is the purpose of creating an Authorization flow when building a Stripe App for it's marketplace
I am building a stripe App for it's market place and it has two different ways of doing what I would call server calls.
One is Server side Logic represented in this diagram
The other is Authorization ...
2
votes
0
answers
43
views
+150
Using DRF and django-tenants together in the same project
I'm currently building a multi tenancy app with django-tenants.
However I also want to run my REST API in the same project as django-tenants.
This is where the problem arises, if I were to make my API ...
0
votes
1
answer
36
views
Accessing Azure Fabric in a Multi-Tenant Scenario
I am facing an issue with tenant switching in Azure Fabric. My primary Azure account, associated with my home tenant, does not have a Fabric license. However, I was invited to a different tenant as a ...
0
votes
0
answers
29
views
Azure passport multi-tentant app can't access federation metadata
Converting a single tenant app to multi tenant. Is it possible to protect this with passport authentication using an Azure access token? It works fine for single tenant app. Here is the main code from ...
0
votes
0
answers
86
views
How to Query multi tenant Databases laravel 9 & hyn/multi-tenant 5
I just inherited a new project which uses "hyn/multi-tenant" which I have not used before and their documentation is on a bare minimum level.
There's already about 450 tenants running on the ...
0
votes
0
answers
30
views
Setting up wazuh server at different location in multi-tenant environment
Currently I am facing a challenge on the use-case that says:
Setup the multi-tenant environment with Wazuh, the Kibana on cloud server for remote access to service provider teams but indexer and ...
0
votes
0
answers
12
views
I am getting an error when using nestjs-tenancy with mongoose and graphql
With basic setup as outlined in the docs https://github.com/needle-innovision/nestjs-tenancy module doesn't work with nestjs and graphql. After little debugging I found that "getTenantFromRequest&...
0
votes
0
answers
131
views
NextJs multi-tenant middleware with Clerk Auth Middleware
See my exact error screenshots at the end.
Context:
I developed a NextJs Web App with Clerk Auth and It worked fine!
I later decided to add Multitenancy by using Next Multitenancy Template which used ...
1
vote
1
answer
28
views
AWS ECS - how to route traffic based on client header to different service instances
We moved our services to AWS ECS. We want to create different instances of those services which can differ in the:
underlying EC2 instance size - e.g. higher CPU and RAM for bigger customers, smaller ...
0
votes
1
answer
18
views
TenantConnectionProvider cannot find a datasource when multiple data sources are enabled
I am creating a Spring Kotlin application that uses multi-tenancy. I want to add a second data source to my application.
The multi-tenancy works fine with a single data source using Spring Boot JPA ...
0
votes
0
answers
30
views
AWS Cognito user-pool-based multi-tenancy - how to authorize users using JWT authorizer
I am wondering if it's possible to use AWS JWT Authorizer (HTTP API Gateway) to authenticate users from multiple Cognito user pools. Users across tenants cannot share user profiles in my case.
As I've ...
0
votes
0
answers
32
views
Multitenancy with Database connection using credentials to achieve pure isolation and increases security
Using "single database multi-schema" strategy of multitenancy I want to make purely isolated connections to database for each tenant.
I thought to reach it in small phases :
Phase 1 : ...
-1
votes
0
answers
36
views
What's the best approach for Next.js multi tenant app?
I have a NextJS application currently only used for one website/brand. The requirement is to handle multiple websites/brands and I am thinking of what would be the best approach. The application is ...
0
votes
1
answer
27
views
Multi-tenant App Does Not Recognise Routes from Mapped Domain
I've run into a strange problem while working on my multi-tenant application. My application (my.app) allows users to create their own subdomain (tenant.my.app) and serve it white labeled under their ...
0
votes
0
answers
118
views
CannotCreateTransactionException in Multi-Tenant Spring Boot App After Upgrading to Spring Boot 3 and Hibernate 6
I have recently performed an upgrade of my multitenancy Spring Boot application and am now encountering issues with making requests to the database. The upgrade was as follows:
Spring Boot 2.5.6 to 3....
0
votes
1
answer
85
views
When using an Azure APIM with Keycloak OAuth provider and multiple realms how do we create a single config for OAuth on APIs rather than 1/realm
We are using Azure API Management to host our API's and we use Keycloak as an Auth provider.
We provide this service to customers and each customer has its own Keycloak Realm.
For each realm, we are ...
0
votes
1
answer
63
views
Multi-tenant SaaS with Caddy and Domain Mapping Not Working
I am trying to setup a multi-tenant application with Caddy server. The application works perfectly fine on my local setup with Laravel valet; allowing me to create subdomains with https. The following ...
0
votes
0
answers
28
views
Unable to integrate Hibernates Multitenant feature with Spring Data JPA in a Spring Boot application
I am trying to implement as mentioned here in Example 2: Schema per tenant, tenant switching is working fine in test cases but when i do actual implementation in my @Service class its not switching as ...
0
votes
0
answers
18
views
WSO2 Multi-tenant from email not working. How to configure identiy server tenant wise from mail?
we used WSO2 Identity server 5.11.x for a Saas Project and we facing issues in sending email from tenant. emails are sending from only one email which is configured in the default tenant. in our case ...
0
votes
0
answers
41
views
Multitenant application with single app service and multiple databases for each client
I am trying to implement a multitenant blazor application architecture with single app service and multiple database. Each unique database for single client and I want to apply authentication using ...
2
votes
1
answer
96
views
How Can I Ensure Quartz.NET Scheduling Compatibility in a Multi-tenant Azure Application Before Enabling Auto-Scaling?
I am working on a project that utilizes Quartz.NET for scheduling data pulls within a multi-tenant Azure environment. We are considering enabling auto-scaling and want to ensure that Quartz.NET is ...
0
votes
0
answers
34
views
stancl\tenancy: in Api Resources, the tenant() helper is not correctly detecting the tenancy context
I'm using Api Resources provided by laravel, alongside with stancl\tenancy package (multi-database approach).
in one of my controllers, i have the following code:
return $someTenant->run(
...
-1
votes
1
answer
41
views
java - Why contents of Set are changed unintentionally in the background
In a spring boot microservice, I'm having a Set of Wrapper Objects in my service class. This set represents subscribers, where the wrapper object includes all configurations needed by the subscriber's ...
0
votes
1
answer
24
views
where to store Tenant user mapping in multi tenant microservices
I am new to microservices , and currently designing a SASS based multi tenant application .
now i have 3 services , one for auth related activities , one for user ,roles and rbac and one for tenant ...
0
votes
1
answer
45
views
How to achieve multi tenancy in apache nifi?
I need to create processes groups for two customer in same apache nifi server, but they can have access only to their designated process groups and as a admin I need to manage both of the process ...
0
votes
1
answer
60
views
Finbuckle: Should my DbContext inherit from MultiTenantIdentityDbContext or EFCoreStoreDbContext?
I'm very new to Finbuckle, and still trying to get my head around it, so this may be a dumb question!
I want to build a multi-tenant application in ASP.NET Core, and intend to use a single-database ...
0
votes
0
answers
18
views
How to handle different customer version in angular app
I'm new to angular and working on an angular app which will have multiple customers. Different customers may need different customisation in both view and functionality. I need to avoid maximum if ...
0
votes
1
answer
47
views
Envers with Hibernate Multi Tenant
I have a project that i am migrating to use hibernate multitenancy feature. So far, i am injecting the EntityManager like this
@Inject
protected EntityManager em;
With a producer method that looks ...
0
votes
0
answers
18
views
AWS SES Dedicated IP Pool Limit for Multi-Tenancy App
In my multi-tenancy laravel web project I want to implement an email module so my tenants can send email to their customers. And of course I want to isolate the ip reputation from one tenant to ...
0
votes
0
answers
112
views
Finbuckle does not support multiple multitenant resolution using EntityFramework Core
I am working on a project using .NET 7 and EntityFramework Core 7 and leveraging the Finbuckle.MultiTenant package for multitenancy. However, I've encountered an issue where the Finbuckle.MultiTenant ...
0
votes
0
answers
50
views
Multitenancy in micronaut java
If I hit the post method I got the error Internal Server Error: No GORM implementations configured. Ensure GORM has been initialized correctly
In MultiTenantResolver, resolveCurrentTenantIdentifier is ...
0
votes
0
answers
15
views
How to insert a Tenant id in multi-tenancy logic using data seed method boilerplate?
For running the migration file, I am currently need the Tenant-id
How will I get a Tenant-id value from the table during the migration run time?
0
votes
0
answers
71
views
How to create a multi-tenant application in ReactJS with Azure Active Directory and MSAL?
I'm building a Microsoft Identity Provider based multi-tenant app in React, and I'm wondering the best way to create and access per-tenant information or variables. For authentication I want to use ...
-1
votes
1
answer
86
views
How to manage multiple SQL schemas in a multi-tenant database?
I am working on a SaaS and we decided to go for a Multi-Tenant approach with each tenant having its schema.
What we have now:
We have a stored procedures that we use to bootstrap a schema from scratch....
0
votes
0
answers
48
views
ABP.IO - Modify tenant onboard flow by customizing Tenant Management Module UI and API
We own the commercial license of ABP and using the built in Tenant Management Module with Angular UI.
We need to accomplish the following customization while onboarding a new tenant
Display existing &...
-1
votes
1
answer
63
views
SQLSTATE[HY000]: General error: 1364 Field 'name' doesn't have a default value
I'm building a multitenant application with laravel8 using laravel/breeze and stancl/tenancy. When I try to add a tenant it shows "SQLSTATE[HY000]: General error: 1364 Field 'name' doesn't have a ...
0
votes
1
answer
68
views
Multitenant per schema in postgresql
I decided to use postgresql with my multitenant app per schema.
I need to create new schema for each customer.
My plan is to have tenant table in public schema with tenant_name and schema_name.
...
0
votes
0
answers
12
views
Django Multi-Tenancy
How can i create a tenant_superuser in the schema which is not public?
raise SchemaError(tenants.tenant_users.tenants.models.SchemaError:Schema must be public for UserProfileManager user creation
I ...
0
votes
1
answer
79
views
Stripe Webhooks in Multitenancy
I'm currently in the process of developing a SaaS application, and I'm utilizing Stripe for payment processing. The nature of my application is subscription-based, meaning customers pay for recurring ...
-1
votes
1
answer
73
views
Custom Login/Registration for Tenant Application in a sass
I want to make a saas application in which users can create a tenant and those tenants can have their own registration and login such that it looks like my saas application and the tenant application ...
0
votes
0
answers
16
views
Microservice Migration from Deployment per tenant to Single deployment for all Tenant
In Current Setup -:
We have single DB in cloud for all Tenant having segregation of data within table on tenant basis.
Individual deployment per tenant(separate Kubernetes space) on cloud of all the ...
0
votes
0
answers
39
views
Multi Tenant Django Backend
HI All I am working on a multi-tenant backend.
I have nextjs frontend and django.
I have tried to have a single db approach where each user has a foreign key to a tenant he/she belongs to. This seems ...
2
votes
1
answer
487
views
Is MultiTenancyStrategy deprecated in Hibernate 6
I'm trying to implement Multi-tenant application using Spring Boot 3.
Now I need to connect multiple schemas in single database. Also I use LIQUIBASE for manage schema changes
When configure Hibernate ...
0
votes
2
answers
141
views
Usage scenario for Pgbouncer in a multitenant application with multiple DBs
So far, in my experience, I have seen pgbouncer used in a multi-client, single DBMS, single DB scenario: i.e. many hosts, running the same application, connect to the same db on a single DBMS host, ...