How to perform a silent logout in Android

When the user taps logout button, I don’t want the browser window to appear - want it to be a silent logout. There was a mention of “just clear out the tokens”? Which API should be used for that? If such an API is invoked, will it be equivalent to calling “WebAuthProvider.logout”?

Hello @rsvry welcome to the community!

Unfortunately, this is just a function of Android for which the Android SDK doesn’t have much control over.

You can use the Credentials Manager to clear credentials, but this is not equivalent to logging out via WebAuthProvider as clearing the credentials is device specific and doesn’t do anything to terminate the session(s).

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.