hi
https://support.abp.io/QA/Questions/5231#answer-3a0bd55f-37b2-1f28-914f-7b52bbf16f87
If you publish your site with custom lifetime configuration, I will check it online.
hi
Can you share your logs.txt with me?
liming.ma@volosoft.com
hi
I will confirm that. Thanks.
Your question credit was refunded.
The identity cookie's name is Identity.Application. If this cookie doesn't exist. Your login state will be invalid.
hi @ed_developer3
You have API and angular websites.
API use cookies and angular use access token.
You can control the cookies by ConfigureApplicationCookie.
remember me the cookies will be valid for 14 days by default. You can change the time by ConfigureApplicationCookieremember me the cookies is session will be invalid after close the browser. The behavior is different in different browsers.https://learn.microsoft.com/en-us/aspnet/core/security/authentication/identity-configuration?view=aspnetcore-7.0#cookie-settings
The access token lifetime control by
PreConfigure<OpenIddictServerBuilder>(builder =>
{
builder
.SetAccessTokenLifetime(TimeSpan.FromSeconds(120))
.SetIdentityTokenLifetime(TimeSpan.FromSeconds(365));
});
It will get a new access token after invalid. You can remove the offline_access scope from oAuthConfig to disable the refresh token feature.
hi
Hello, I don’t get the point for remember me, the functionality works like this if the user checks the remember me then he/she don’t need to authenticate for every time he/she revisits the page for default time it was set. And if he/she don’t check then, the user needs to authenticate again. This is what I am doing but its not happening. Any suggestions from your side. Thank you.
If you didn't select the remember me the login state is session if will be invalid after you close the browser.
https://www.cookiepro.com/knowledge/what-is-a-session-cookie/
Select the remember me the cookies will be valid in ExpireTimeSpan even if you close the browser.
garbled characters are displayed when the user role is configured.
Please try this
Configure<WebEncoderOptions>(options =>
{
options.TextEncoderSettings = new TextEncoderSettings(UnicodeRanges.BasicLatin, UnicodeRanges.CjkUnifiedIdeographs);
});