Activities of "liangshiwei"

Hi,

Can you check those?

https://www.cnblogs.com/stulzq/p/13954245.html https://stackoverflow.com/questions/50262561/correlation-failed-in-net-core-asp-net-identity-openid-connect

HI,

Could you share a minimal reproducible example? shiwei.liang@volosoft.com thanks.

Hi,

The CMS module will try to handle the request If there is no error page.

You can manually add an error page:

Hi,

Please use the authorization code flow.

const oAuthConfig = {
  ....
  responseType: 'code',
  ....
};

Hi,

You can create a user if it doesn't exist:

[UnitOfWork]
public override async Task TokenValidated(TokenValidatedContext context)
{
    await base.TokenValidated(context);

    var userManager = context.HttpContext.RequestServices.GetRequiredService();
    

    var userEmail = context.Principal.FindFirstValue(ClaimTypes.Email);

    var currentUser = await userManager.FindByEmailAsync(userEmail);

    if(currentUser == null)
    {
        // create a user
    }
    
    var adminRoleName = "admin"; // Replace with your admin role name
    var isInRole = await userManager.IsInRoleAsync(currentUser, adminRoleName);

    if (!isInRole)
    {
        await userManager.AddToRoleAsync(currentUser, adminRoleName);
        var identity = context.Principal.Identity as ClaimsIdentity;
        identity?.AddClaim(new Claim(identity.RoleClaimType, adminRoleName));
    }
    
}

dotnet add ".$name\host$name.HttpApi.Host" package Volo.Abp.EntityFrameworkCore.PostgreSql --prerelease

You should specify the stable version here instead of -prerelease

Answer

Can you share some screenshots and logs? thanks.

Hi,

You can override the _Sidebar.cshtml

_Sidebar.cshtml

@using Microsoft.Extensions.Localization
@using Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX.Themes.LeptonX.Components.SideMenu.MainMenu
@using Volo.Abp.LeptonX.Shared.Localization

@inject IStringLocalizer<LeptonXResource> L

<div class="lpx-sidebar-container">
	<div class="lpx-sidebar lpx-scroll-container" id="lpx-sidebar">
		<nav class="lpx-nav">
			<div class="lpx-logo-container">
				<a href="/myUrl">
					<div class="lpx-brand-logo"></div>
				</a>
				<i class="lpx-icon bi bi-filter-left menu-collapse-icon hidden-in-hover-trigger"
				   aria-hidden="true"
				   data-lpx-toggle="sidebar"></i>
			</div>

			<div class="lpx-menu-filter hidden-in-hover-trigger" data-lpx-menu-filter="sidebar">
				<i class="lpx-icon bi bi-filter menu-filter-icon" aria-hidden="true"></i>
				<input class="menu-filter-input hidden-in-hover-trigger" type="text" placeholder="@L["FilterMenu"]" />
				<span class="menu-filter-clear hidden">
					<i class="lpx-icon bi bi-x clear-icon" aria-hidden="true"></i>
				</span>
			</div>

			<ul class="lpx-nav-menu" id="desktop-sidebar">
				@await Component.InvokeAsync(typeof(MainMenuViewComponent))
			</ul>
		</nav>
	</div>
</div>

Hi,

You can try to delete current license login session https://support.abp.io/QA/Questions/817/How-to-delete-current-license-login-session#answer-4cbc8f13-c7f3-84fa-7fc8-39fa2688df13

  • And open the https://commercial.abp.io/my-organizations to check your organization
  • Login with abp login --organization yourorganization command

Hi,

There is no onopen event after you switch the modal to page.

You can try to use the $(function(){..})

Showing 4081 to 4090 of 6693 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
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 25, 2025, 06:16
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.