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);
});
hi krapholo
Can you share your project with me?
liming.ma@volosoft.com
I will check it on my local.
hi
Some code(ConfigureApplicationCookie
) of your project is not working. Please share your project code with me.
liming.ma@volosoft.com
Thanks, Our angular team will confirm this.
hi
Please try this
PreConfigure<OpenIddictServerBuilder>(builder =>
{
builder
.SetAccessTokenLifetime(TimeSpan.FromSeconds(120))
.SetIdentityTokenLifetime(TimeSpan.FromSeconds(365));
});
You can share an online website. I will test it
liming.ma@volosoft.com
hi
Are you using angular for UI? Is your angular UI not logout after 5 minutes?
What's your abp version?
hi
After 1Hour if the user revisits the page then he/she will be asked to login again.
What's this UI?
Does the user revisit on MVC or angular page?
hi
What's your client? MVC or Blazor or Angular?
ConfigureApplicationCookie
only works for MVC(AuthServer) side.