fullstackhero/blazor-wasm-boilerplate

Login remember me support?

dotnetshadow opened this issue · 2 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.