Auth0 Home Blog Docs

Equivalent of Xamarin.Auth's logout() for clearing Auth0's login cookie


Previously, a simple call to logout() in the deprecated Xamarin.Auth plugin would clear the login cookie at Auth0.

I’ve read about the clearing by calling the Login lock with a clear flag - but I just wish to log out, not present the login dialog to the user again.

Also could call the logout endpoint, but wonder if there is a more direct way using the Auth0Client instance?


Hi Simon.
I don’t have VS handy to test it, but doesn’t auth0Client.LogoutAsync() do the job?


Oh, how embarrassing. Somehow didn’t come up in all the searches I did or intellisense method listing. I haven’t tested yet, but I highly suspect it will. Thanks

1 Like
closed #4

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