fullstackhero / blazor-wasm-boilerplate

Clean Architecture Boilerplate Template for .NET 6.0 Blazor WebAssembly built for FSH WebAPI with the goodness of MudBlazor Components.

Home Page:https://fullstackhero.net/blazor-webassembly-boilerplate/general/getting-started/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Login remember me support?

dotnetshadow opened this issue · comments

Hi there,

Any chance of implementing the remember me for the Login? Not sure how the jwt and cookie thing would work in order to support this?

Cheers

This is already supported out of the box. The tokens are stored in localstorage and automatically renewed when necessary. That remember me checkbox is not necessary, as it's on by default, and I wouldn't know how to put it off, other than not storing the refresh token maybe, but that would make you have to log in again every hour...

The 'Remember Me' Check box looks irrelevant since we already have a refresh mechanism. Will remove it from the login component.