xamarin / Xamarin.Auth

Xamarin.Auth
Apache License 2.0
541 stars 351 forks source link

Logout / Change user ? #357

Open vd3d opened 5 years ago

vd3d commented 5 years ago

Once logged in, sometimes I wish to log-out to allow to use another user.

It seems that there is no way to log-out for now, I don't know why but so...

I have try to implement it by myself, but it seems something is wrong ... here is my code :

var client = new HttpClient();
string uri = "https://www.facebook.com/logout.php?next=https://m.facebook.com/dialog/oauth/&access_token=" + _facebookToken;
await client.GetAsync(uri);
OAuth2Authenticator.ClearCookies();

So, can you help me to log-out from facebook ? or provide a method for this ?

PS: I should not be alone to have this request, right ?

ThaineNorris commented 5 years ago

Have you found a way to do this yet?