質問

When I try to log out(both using my own button and the one provided in the SDK) I am "able" to log out. The reason I use the quotation marks is that when I will try to log in again, it is automatically logging me in as the previous logged in user. Thus, I am not able to change user. I'm assuming that this is some cache issues in the web browser or something like that. Anyone know if this will be fixed when the sdk is out of its alpha? Any help appreciated!

役に立ちましたか?

解決

The problem is that the FB authentication cookies are still in the WebBrowser data.

Here is the code that clears the WebBrowser cookies (no matter which instance of WebBrowser it's called on):

await new WebBrowser().ClearCookiesAsync();
ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top