0

I am using openid in my asp.net application.For Linkedin ,I have used javascript api I am able login in my site but I want to know how to logout from my site which will automatically logs me out from linkedin also. Pl suggest some solution.

thanks

2 Answers2

1

The protocol doesn't allow for you to log the user out of LinkedIn. You may only log users out of your own site. This is by design.

Andrew Arnott
  • 74,820
  • 24
  • 127
  • 163
0

Javascript function

function logout() {
        IN.User.logout(function () {
            window.location.href = '/logout.aspx'; 
        });
    }

works for logout but when we leave the site ideal for some time, it doesn't work.

Jitendra Pancholi
  • 6,617
  • 8
  • 39
  • 72