I'm submitting a...
Current behavior
When using OAuth in the same window the authData is not being saved in local storage, just in memory which leads the user to be signed out when the page is reloaded, this issue doesn't happen when using OAuth in new window mode
Expected behavior
The authData should be persisted in local storage, doesn't matter the way he signs in
What is the motivation / use case for changing the behavior?
The users can be tempted to reload the page for any reason, and their session should be persisted so they are nor signed out if their session is still valid
Environment
Angular-Token version: 7.0.1
Angular version: 9.1.9
Bundler
Browser:
Others:
I'm submitting a...
Current behavior
When using OAuth in the same window the
authDatais not being saved in local storage, just in memory which leads the user to be signed out when the page is reloaded, this issue doesn't happen when using OAuth in new window modeExpected behavior
The
authDatashould be persisted in local storage, doesn't matter the way he signs inWhat is the motivation / use case for changing the behavior?
The users can be tempted to reload the page for any reason, and their session should be persisted so they are nor signed out if their session is still valid
Environment
Angular-Token version: 7.0.1
Angular version: 9.1.9
Bundler
Browser:
Others: