Is it feasible to login using WebAuthProvider to login and calling /v2/logout to logout

Just a quick question, Is it feasible to perform logout by calling API if I’ve previously logged in using WebAuthProvider while using Android SDK? if so what’s the right way to do it.

  • Android SDK

Hi @dane,

The SDK provides a logout method, here is an example.

The logout method will navigate to the logout endpoint. Will this work for you?

Hey!

Thanks for the answer, however I’m already using that approach.
What I’m trying to do is to avoid to see the Logout activity (it’s like a blink for kind of 1 second) the SDK uses. So wondering if there is another way to logout without showing that logout web activity for that second

It appears that it isn’t possible to avoid the redirect to log out.

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