auth0-samples / auth0-xamarin-oidc-samples

Auth0 OIDC Client with Xamarin applications
MIT License
30 stars 38 forks source link

How to logout #8

Closed jsonkile closed 7 years ago

jsonkile commented 7 years ago

Please i am new to this, i would like to know how to log users out on both platforms, thanks

jerriep commented 7 years ago

Please view the Xamarin Quickstart which explains how to do this: https://auth0.com/docs/quickstart/native/xamarin

gitizenme commented 6 years ago

I'm not finding anything in the quick start regarding how to logout a user. Am I missing something or is there another doc that has the details?

jerriep commented 6 years ago

@gitizenme Hmm, I am not sure whether that was removed... Basically, your application manages the state which stores the fact that the user is logged in, right? So all you need to do is to clear that state in your application. How exactly that happens is dependent on you.

gitizenme commented 6 years ago

@jerriep Okay, that's what we currently have implemented in the app. Just wanted to double check as to the best practice.

luminousAvocado commented 6 years ago

@gitizenme I'm able to remove the credentials from our app and log them out of our application session, but how can we use the endpoint "https://sample.auth0.com/v2/logout" to log them out of their Auth0 session, in xamarin.forms?