You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
there is an option to config cokies but not with the local storage
what you are looking for is a code snippet in the startup.cs services.ConfigureApplicationCookie(options => { // Cookie settings options.Cookie.HttpOnly = true; options.ExpireTimeSpan = TimeSpan.FromDays(5); options.LoginPath = "/Identity/Account/Login"; options.AccessDeniedPath = "/Identity/Account/AccessDenied"; options.SlidingExpiration = true; });
Hi Chris,
Local storage is implemented for storing auth token.
is there any way to interact with cookies in blazor to achieve the same result ?
The text was updated successfully, but these errors were encountered: