Comments (3)
hi
There is no tenantid
claim in your current principal. So it will be null
.
You can try to switch the current tenant on the login page. and then login a user who belong a tenant.
https://docs.abp.io/en/abp/latest/Multi-Tenancy
from abp.
@maliming I have created users who belong to a tenant and have manually added tenants in the database. However, I'm not sure how to add the tenant ID to the claims. Could you provide guidance on how to include the tenant ID in the claims for these users?
and TenantId from user alson NULL (I have created users who belong to a tenant)
Thank you!
from abp.
@maliming Please can you check the code and find attached the project.zip file
aspnet-core.zip
Thank you!
from abp.
Related Issues (20)
- Make `DateTimeExtensionProperty` support `DisplayFormatAttribute`.
- Remove LeptonX folder if current theme is Basic
- After upgrading ABP from 7.3 to 8.1, logging in (connect/token) returns a 404 error HOT 1
- Creating a Module in ABP Results in Missing Projects and Dependency Errors
- Unable to issue a JWT token
- New project doesn't seem to be working HOT 2
- Dynamic claims are not working HOT 3
- Add BLOB Storage for BackBlaze B2 Cloud Storage
- Use `DbFunction` for global query filters
- Export remember-me-service.ts
- Add community article to introduction the `DBFcuntion` feature.
- Upgrade all npm packages to latest.
- Angular UI - Breadcrumb resets after navigation
- Hangfire to use separate Tenant Database HOT 1
- MVC Template Redis Required HOT 2
- Duplicate Enum in Generate Proxy files - Angular HOT 1
- unable change user data
- Show a redirection page after login when scheme is different than http(s) HOT 5
- Does the ABP Framework 8.1.4 project have to run under an https domain? HOT 4
- IDistributedCache GetOrAddManyAsync error in net 8.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abp.