Last post Aug 10, 2015 05:22 AM by Candy Zhou
Aug 07, 2015 01:45 AM|LuisZaks|LINK
I'm using OAuth in my web app, and users can login with twitter and facebook.
I want to add "switch twitter and facebook account" button, which actually clears the session and then invokes the authorization ulr.
As clearing the session in my web app doesn't log out of twitter / facebook, the authorize_url will automatically authenticate the current twitter.com / facebook user. That means I can't do logout, unless I send the user to the social network.
Is it possible with the existing API to be able to logout a user without rewriting the authentication existing providers? What is the best way to implement this?
Aug 10, 2015 05:22 AM|Candy Zhou|LINK
If you log on to your application with Facebook, and then log out and try to log in again with a different Facebook account (using the same browser). Alternatively, you can log in with another account by using a different browser.
Another way I think you could design your application like this: you can add "Logout" button, then click it, it can automatically navigate to the Login Page.
I hope this will help you.