One new way to solve it. See https://github.com/abpframework/abp/pull/24598
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.
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?
hi
I don't think your tenants will exceed 100 out of 256, so this can be ignored for now.
Maybe you can call Azure's API in your application to add or remove new URLs when tenants are created or deleted.