Hi,
You can use the external login and disable the local login.
https://docs.abp.io/en/commercial/latest/modules/account#install-a-new-external-login https://docs.abp.io/en/commercial/latest/modules/account#local-login
For SSO, you can configure the shared cookie domain:
https://learn.microsoft.com/en-us/aspnet/core/security/cookie-sharing?view=aspnetcore-8.0
for example:
context.Services.AddAuthentication(options =>
{
options.DefaultScheme = "Cookies";
options.DefaultChallengeScheme = "oidc";
})
.AddCookie("Cookies", options =>
{
options.Cookie.Name = ....;
options.Cookie.Domain = ....;
.....
})
Hi,
They are actually set by JS.
You can subscribe to events:
myleptonx.js
leptonx.AppearanceSettingEvent.on(document.body, evnet => {
var theme = evnet.detail.theme;
setCookie("lpx_loaded-css", theme, ".sharedDomain.com");
setCookie("lpx_appearance", theme, ".sharedDomain.com");
});
function setCookie(name, value, domain, day = 365) {
var expires = new Date();
expires.setTime(expires.getTime() + (day * 24 * 60 * 60 * 1000));
document.cookie = name + '=' + value + ';expires=' + expires.toUTCString() + ';domain=' + domain + ';path=/';
}
Hi,
My email is shiwei.liang@volosoft.com
Hi,
It is actually the log written by ABP, you can ignore it: https://github.com/abpframework/abp/blob/dev/modules/openiddict/src/Volo.Abp.OpenIddict.Domain/Volo/Abp/OpenIddict/Authorizations/AbpOpenIddictAuthorizationStore.cs#L75
Hi,
This is enough, ok please share the log. thanks.
UI Type: Blazor Server
It seems you are using the Blazor Server, you should create a Blazor component page instead of cshtml.
Hi,
Or is there any option we can turn on to get even more details log?
You can set IdentityModelEventSource.ShowPII
= true;