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?
hi
This is related to: https://github.com/abpframework/abp/issues/2643#issuecomment-574940166
You can consider add [Authorize(AuthenticationSchemes = JwtBearerDefaults.AuthenticationScheme)]
on your controller or method.
hi
I got your mail I will check it asap. : )
HI
I checked the inbox,trash,spam did not receive any mail,
liming.ma@volosoft.com
we have shared the bare minimal project without depedencies for you to reproduce the issue locally.
I can't use the project you shared before, as I said in the meeting, you should provide a project and steps that only depend on the local PostgreSQL database.
I remember another friend had agreed to do this in the meeting,
hi
You need install the Microsoft.AspNetCore.SignalR.StackExchangeRedis package. https://www.nuget.org/packages/Microsoft.AspNetCore.SignalR.StackExchangeRedis/
Then
public override void PreConfigureServices(ServiceConfigurationContext context)
{
context.Services.PreConfigure<ISignalRServerBuilder>(builder =>
{
builder.AddStackExchangeRedis("connectionString", options =>
{
options.Configuration.ChannelPrefix = "MyApp";
});
});
}