I am making a simple authentication app in Android using Firebase authentication. Till now I am successful in signing the user in, however the issue is that the user remains
This one just signs you out from the current application .
if you are using a fragment do this
AuthUI.getInstance().signOut(getActivity());
if you are using an activity do this
AuthUI.getInstance().signOut(getApplicationContext);
cheers!