Hi, I’m using the Custom JWT authentication method to log-in user in to my electron app and the sync is working perfectly fine. Just wanted to know the approach to log out the user.
Scenarios faced till now:
- I was using
app.currentuser.logOut()
to log out a user but sometimes the current user is still there. - What if the user wants to log in with a different account, should we delete the current local realm instance