Open zgmunshi opened 11 years ago
I've used a separated library for the user session management. So if a user is logged in or not is not managed by the Outhlibrary. The library only allows a users to be authenticated. After the authentication succeeds, whether the user is logged in or not is managed by the other library.
If you want the logout the user from Facebook, you could have a look at the following solutions: In PHP: https://developers.facebook.com/docs/reference/php/facebook-getLogoutUrl/
Or with some Javascript: http://stackoverflow.com/questions/2764436/facebook-oauth-logout
Hope this is info is useful!
Thank you...I will have a look at it.
Regards, Zeeshan.
On Mon, Jul 8, 2013 at 2:20 PM, Jeroen Moors notifications@github.comwrote:
I've used a separated library for the user session management. So if a user is logged in or not is not managed by the Outhlibrary. The library only allows a users to be authenticated. After the authentication succeeds, whether the user is logged in or not is managed by the other library.
If you want the logout the user from Facebook, you could have a look at the following solutions: In PHP: https://developers.facebook.com/docs/reference/php/facebook-getLogoutUrl/
Or with some Javascript: http://stackoverflow.com/questions/2764436/facebook-oauth-logout
Hope this is info is useful!
— Reply to this email directly or view it on GitHubhttps://github.com/jeroenmoors/oauthclient/issues/1#issuecomment-20592701 .
I am using your code OauthClient but what i need is logout code that will logout the user from CI session as well as from facebook account.
Please guide me how it can be done.
Thanks.