How to Log Users Out of Applications in electron js?
Hey there!
Have you had a chance to check out this blog article from us?
Here you’ll find more information about that.
Thanks for the reply . I have 2 electron applications running on my local machine and as per article i have implemented auth0 in both apps and used same env-variables.json file in both applications.
On logout from my first application it deletes all tokens from my machine , when i open my second application it doesn’t get refresh token and it goes to create auth0 window.
But loadTokens method gets called automatically from webRequest.onBeforeRequest because url contains code query parameter(http://localhost/callback?code=pGgrRpkkMmSKls36). How can i delete all sessions on logout so my second application open auth0 window when there is no refresh token available.