Multi Tenancy tutorial issue with claims principle #7078
NadeanB
announced in
Announcements
Replies: 1 comment 2 replies
-
Hello, Startup.cs File - services.AddSingleton<IUserClaimCreator, DefaultUserClaimCreator>();
+ services.AddSingleton<IUserClaimCreator, MyProjectUserClaimCreator>(); |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Before submitting the bug report, please read and check the following items
What happened?
I am following the Serenity Multi Tenancy tutorial and was asked to post the issue here. There is a problem with the claims principle or the extension method GetTenantId() under the "Filtering users by tenantId" section. It always gives the null error mentioned in the extension method.
What did you expect to happen?
The extension method should access the tenant id claim successfully.
How to reproduce?
Follow the Multi Tenancy tutorial.
What Serenity Nuget Versions are you seeing the problem on? (separated by comma)
6.9.6.4
Relevant log output
No response
Serene template version
No response
Sergen version
No response
Code editor
VS 2022
Operating System
Windows 11
Node.js version
No response
TypeScript version
No response
Database type and version
No response
On which device do you see the problem?
Laptop
On which operating system do you see the problem?
Windows
On which browsers do you see the problem?
No response
On what version of the browsers do you see the problem?
No response
Additional information
No response
Beta Was this translation helpful? Give feedback.
All reactions