Activities of "maliming"

hi

Can you try to override the TZConvertTimezoneProvider and remove the Africa/Asmera?

[Dependency(TryRegister = true)]
[ExposeServices(typeof(ITimezoneProvider))]
public class MyTZConvertTimezoneProvider : TZConvertTimezoneProvider
{
    public override List<NameValue> GetWindowsTimezones()
    {
        return TZConvert.KnownWindowsTimeZoneIds.OrderBy(x => x).Select(x => new NameValue(x, x)).ToList();
    }

    public override List<NameValue> GetIanaTimezones()
    {
        return TZConvert.KnownIanaTimeZoneNames.OrderBy(x => x).Where(x => x.Contains("/") && !x.Contains("Etc") || x == "UTC").Select(x => new NameValue(x, x)).ToList();
    }
}

Thanks.

a new way to solve it. See https://github.com/abpframework/abp/pull/24598

Great 👍

hi

复制这个类的源码到你的项目中

https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore/Microsoft/Extensions/DependencyInjection/CookieAuthenticationOptionsExtensions.cs

67行的ClientId需要来自Access token中而不是每个项目的ClientId.

var tokenHandler = new JwtSecurityTokenHandler();
var securityToken = (JwtSecurityToken)tokenHandler.ReadToken(your_access_token);
var clientid = securityToken.Claims.FirstOrDefault(c => c.Type == openiddict_client_id_claim_type)?.Value;

 ClientId = clientid

https://www.nuget.org/packages/system.identitymodel.tokens.jwt/

hi

In an ABP organization, there are owner and developer accounts. You must provide a developer account's email address to the Blazorise website.

Can you try to use the developer email on the Blazorise website?

Thanks.

great 👍

hi

Can you try that?


window.leptonx.AppearenceSettingService.instance.changeTheme({"theme": "dark"})
document.cookie = 'lpx_loaded-css=dark;';
document.cookie = 'lpx_appearance=dark;';

Thanks.

修改CheckTokenExpiration会解决问题

hi

window.leptonx.AppearenceSettingService.instance.changeTheme("light")
window.leptonx.AppearenceSettingService.instance.changeTheme("dark")

你可以移除 options.IntrospectAccessToken()将解决这个问题.

之后复制这个类的源码到你的项目中

https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore/Microsoft/Extensions/DependencyInjection/CookieAuthenticationOptionsExtensions.cs

67行的ClientId需要来自Access token中而不是每个项目的ClientId.

https://github.com/abpframework/abp/blob/dev/framework/src/Volo.Abp.AspNetCore/Microsoft/Extensions/DependencyInjection/CookieAuthenticationOptionsExtensions.cs#L67


为什么多个APP没有使用相同的ClientId?

Showing 361 to 370 of 11994 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.2.0-preview. Updated on February 17, 2026, 09:10
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.