i’m using Auth0.Android (com.auth0.android:auth0:1.15.1) for handling user athentication in my android app. Now I have a question regarding the user log out which i handle the following way:
- Clear the Credentials from the CredentialsManager
- Clear the cookies, which will force ultimately the logout:
final Intent browserIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(logoutUrl));
Everything works fine so far. The only thing is, that the browser app (e. g. Chrome or Firefox) which i’m calling with Intent.ACTION_VIEW opens and stays open next to my app. Is there a way to avoid this behavior? Or do you handle the log out in a different way?
Thank you very much in advance!