Closed ispyinternet closed 4 years ago
It probably should. I thought that it was unnecessary because all that's needed to clear state, is to clear oauth2authcodepkce-state
property in localstorage
.
In the next release I'll add .destroyState()
, which should do as the name implies :)
I called it reset()
instead. It's published in 2.7.1.
Should this library expose a logout / or reset state API?