hi @Repunjay
Our problem may be related to migration, so we shouldn't create the host database Litmus_Admin and tenant database Litmus_Lenovo_Admin through SQL.
We need use migrations of ef core.
The structure of the sql you shared is different from the project I received. Please try to reproduce the problem through the code, you can share the necessary code to create the data. Please keep it simple, thanks.
hi
Can you check your redis to see if the keys are created?
I think your Redis may have problem, Because we've confirmed the Data Protection can works between two application.
Since both instances are separate in our production environment we cannot persist the keys on the local file system
You can use other provider to save your keys.
https://docs.microsoft.com/en-us/aspnet/core/security/data-protection/configuration/overview?view=aspnetcore-5.0
hi @all
https://github.com/abpframework/abp/commit/b73f9e2c6e91251f800d5aa3a00b1edf516ed933
May I ask if this attribute could have any other unwanted consequences?
I don't think so.
https://docs.microsoft.com/en-us/aspnet/core/security/authorization/limitingidentitybyscheme?view=aspnetcore-5.0
hi
Can you get the IdentityServerOptions
from the DI and check the IssuerUri
?
var options = context.RequestServices.GetRequiredService<IdentityServerOptions>();
var uri = options.IssuerUri;
hi
You can create a MyProjectNameDtoExtensions
file in your Application.Contracts
layer.
https://github.com/abpframework/abp/blob/dev/templates/app/aspnet-core/src/MyCompanyName.MyProjectName.Application.Contracts/MyProjectNameDtoExtensions.cs
I will add this file to next version of app pro template.
hi
Here is my steps:
modules\litmus-core\src\SCV.Litmus.DbMigrator\SCV.Litmus.DbMigrator
dotnet ef database update
in SCV.Litmus.ProfileManagement.HttpApi.Host
project.SCV.Litmus.IdentityServer
and SCV.Litmus.ProfileManagement.HttpApi.Host
.https://localhost:44398/profile/api/ProfileManagement/sample
get success result.https://localhost:44398/profile/api/ProfileManagement/sample
get success result.@Repunjay Am I miss some steps?