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
Describe the bug
Login doesn't work after calling AuthClient.logout because it deletes KEY_STORAGE_KEY which was set in AuthClient.create because of that there is an error when using that authClient
To Reproduce
Steps to reproduce the behavior:
Login
Refresh page (call AuthClient.create)
Logout (deletes Index DB)
Try to login (without initing using AuthClient.create)
It looks like it is login but after that when you start to use that client - is is broken
Expected behavior
Logout should not only delete Index DB but also set auth client to the state like after calling AuthClient.create
Describe the bug
Login doesn't work after calling
AuthClient.logout
because it deletesKEY_STORAGE_KEY
which was set inAuthClient.create
because of that there is an error when using that authClientTo Reproduce
Steps to reproduce the behavior:
Expected behavior
Logout should not only delete Index DB but also set auth client to the state like after calling AuthClient.create
Fixed in the demo app: krpeacock/auth-client-demo#15
The text was updated successfully, but these errors were encountered: