question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

User logout: clear identify?

See original GitHub issue

I can’t find a way to clear user identify on logouts.

There is a method in MixpanelApi.java but is not public:

clearPreferences()

Any changes you make that public? Or is there any other way to handle this situation?

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
SeanZoRcommented, Jan 3, 2016

Nice, Thanks! I also recommend calling ‘flush’ to make sure you send all your events before clearing.

0reactions
joeatworkcommented, Dec 17, 2014

I’ve made clearPreferences (renamed reset) public in the 4.5.0rc, it should appear when we merge.

Thank you so much for all of your help and research with this issue!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to "unidentify" a user at logout? · Issue #30 - GitHub
All working fine so far, except for one issue: how do I remove the identification of a user, upon logout for example ?...
Read more >
mixpanel - What should I do when users log out?
Call clearSuperProperties() to remove any Super Properties in local storage. Set new_distinct_id = UUID.randomUUID().toString());; Call .
Read more >
Logout - Auth0
Describes how logout works with Auth0. ... Log users out of Auth0 by clearing the Single Sign-on (SSO) cookie. Identity Provider Session Layer:...
Read more >
What are the risks of just clearing cookies instead of logging off?
Can I just log out by wiping cookies instead of hitting logout? Yes, since the web application uses cookies to uniquely identify you ......
Read more >
Clearing an End-User's Session - Okta Support
To clear a user's sessions, do the following: ... From the More Actions drop-down menu, choose Clear User Sessions, as shown below. This...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found