Activities of "maliming"

hi

I add some test code and it works between two application.

https://github.com/abpframework/abp/commit/0f13c80056b4159f5a83b50753a7ff7b66ae6e74

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:

  1. Replace all connection strings with my locally.
  2. Run modules\litmus-core\src\SCV.Litmus.DbMigrator\SCV.Litmus.DbMigrator
  3. Run dotnet ef database update in SCV.Litmus.ProfileManagement.HttpApi.Host project.
  4. Run SCV.Litmus.IdentityServer and SCV.Litmus.ProfileManagement.HttpApi.Host.
  5. Call https://localhost:44398/profile/api/ProfileManagement/sample get success result.
  6. Add a tenant in database.
  7. Then Call 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";
		});
	});
}
Showing 7651 to 7660 of 8452 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11