tonyli508 / LinkedinSwift

Linkedin IOS SDK for Swift from IOS 7
MIT License
74 stars 43 forks source link

couldn't logout from current session #49

Closed vishalpethani closed 5 years ago

vishalpethani commented 5 years ago

linkedinHelper.logout() doesn't work. Can anyone tell me that how can I logout current user?

I have download the Example project. When I click on the login button, ViewController is present with LinkedIn Login.

After successful login, ViewController is dismissed, pressed the logout button and once again click on the login button.

I got previous user details.

tonyli508 commented 5 years ago

@vishalpethani there is a misunderstanding of the logout function, the user you logged in in web view will stay in, the logout function will only clear out the session in current app.

If you need to logout in web view, then only way is going to linkedin in web and logout there.