Activities of "liangshiwei"

Hi,

are you running on my source code?

Yes, I used the project you shared.

these are the records in database, is anything missing here?

It looks no problem.

Is there any error log?

Did you update the redirect_uri?

For gateway the redirect_uri should be https://localhost:44325/oauth2-redirect.html

I checked https://localhost:44367/swagger/index.html and https://localhost:44325/index.html both.

This is the https://localhost:44325/index.html

I could not reproduce the problem.

Hi,

You can check the document:

  • https://docs.abp.io/en/commercial/latest/themes/lepton/customizing-lepton-theme?UI=NG
  • https://docs.abp.io/en/commercial/latest/themes/lepton-x/angular

Hi,

Sorry, I do not quite understand what you mean.

redirect_uri is not valid for client application

You should check the client application's redirect_uri.

You can edit the application through OpenId UI

Hi,

Because the product service needs to load user information from the identity service and the package was added to ProductService.HttpAPI.Host not the Blazor app.

Hi,

Steps:

  • Update the appsettings.json
  "RemoteServices": {
    "AbpIdentity": {
      "BaseUrl": "https://localhost:44388/",
      "UseCurrentAccessToken": "false"
    }
  },
  "IdentityClients": {
    "Default": {
      "GrantType": "client_credentials",
      "ClientId": "AdministrationService",
      "ClientSecret": "1q2w3e*",
      "Authority": "https://localhost:44322",
      "Scope": "IdentityService",
      "RequireHttps": "true",
      "ValidateIssuerName": "true",
      "ValidateEndpoints ": "true"
    }
  },
  • Grant user lookup permission to AdministrationService

You can create an application named ProductService instead of using AdministrationService

  • Add package references

<PackageReference Include="Volo.Abp.Identity.Pro.HttpApi.Client" Version="7.2.2" /> <PackageReference Include="Volo.Abp.Http.Client.IdentityModel.Web" Version="7.2.2" />

[DependsOn(typeof(AbpHttpClientIdentityModelWebModule))]
[DependsOn(typeof(AbpIdentityHttpApiClientModule))]
public class ProductServiceHttpApiHostModule : AbpModule
  • Update ProductServiceHttpApiHostModule
public override void OnApplicationInitialization(ApplicationInitializationContext context)
{
    var app = context.GetApplicationBuilder();
    var env = context.GetEnvironment();

    if (env.IsDevelopment())
    {
        app.UseDeveloperExceptionPage();
    }

    app.Use(async (httpContext, next) =>
    {
        var accessToken = httpContext.Request.Query["access_token"];

        var path = httpContext.Request.Path;
        if (!string.IsNullOrEmpty(accessToken) &&
            (path.StartsWithSegments("/signalr-hubs/chat")))
        {
            httpContext.Request.Headers["Authorization"] = "Bearer " + accessToken;
        }

        await next();
    });
    
    ........
}

Hi,

You can try to enable the source link to debug the AbpPermissionManagementDomainModule and StaticPermissionSaver classes.

abp will save the permission definition to the database when the application is startup. But here some reason causes the save not to complete, you can debug to check

Showing 3781 to 3790 of 6693 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.