androidappauth

End session in AppAuth for Android without uninstalling app


I am trying to end the session in my app so that I can log in with a new user.

Currently I have the functionality that logs the user out, and shows the log in screen. However when a new user tries to log in an error occurs saying that another user is logged in for this session.

I know that simply uninstalling the app will solve this, but I have not figured out how to manually clear and delete the data necessary to end the session without uninstalling.

I also get a little confused looking at the documentation, and I believe that a fix is being worked on, but it's not fully implemented yet.

Have anyone any suggestions on how to fix this? Or why the session gets forgotten after reinstall, and not by clearing the data in settings?


Solution

  • You had the right approach:

    There is nothing more to do.