aad-sso-wordpress icon indicating copy to clipboard operation
aad-sso-wordpress copied to clipboard

Cannot log out user

Open teocomi opened this issue 8 years ago • 5 comments

Hello, first of all thanks for the great plugin, I've installed it and it works very well a part from the logging out part. Here the steps to reproduce it:

  • user A logs in
  • user A logs out (from wordpress and from AAD)
  • user B logs in from the same machine&browser
  • he appears logged in as user A

Seems like the plugin is not deleting the token cache? Or might it be some misconfiguration on my side? Thanks

teocomi avatar Feb 17 '17 13:02 teocomi

Could you post a list or screenshot of active plugins? Also, let us know if you're using the most recent version of the plugin?

bradkovach avatar Feb 17 '17 18:02 bradkovach

Sure, it's a new wordpress installation and the latest version of the pugin (respectively 4.7.2 and 0.6a)

image

The theme is http://www.wpexplorer.com/pronto-wordpress-theme/

I forgot to mention that the only way I managed to log out the other user was by cleaning the browser cache.

teocomi avatar Feb 20 '17 10:02 teocomi

How are you logging out the user (from the blog and from Azure AD)?

psignoret avatar Feb 20 '17 14:02 psignoret

Yes: I click on "Log Out" in the blog and get redirected to the wordpress login page, then I click "Sign Out" and it goes through my company's azure logout correctly. When I try to log in again, and select to use another user account, I then appear logged in wordpress as the first user...

image

teocomi avatar Feb 20 '17 16:02 teocomi

I am facing the same issue as @teocomi have posted. After logout, as @teocomi mentioned, when I try to log in again, and select to use another user account, it directly take me to the application without asking for password. I can not get logout completely unless and until I close the browser. FYI, I have used wp_logout_url(home_url()) function to logout from Portal.

rdroshan24 avatar Feb 09 '18 06:02 rdroshan24