serenity-is / Serenity

Business Apps Made Simple with Asp.Net Core MVC / TypeScript
https://serenity.is
MIT License
2.57k stars 796 forks source link

Multi Tenancy tutorial issue with claims principle #7077

Closed NadeanB closed 4 months ago

NadeanB commented 4 months ago

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