aad-sso-wordpress
aad-sso-wordpress copied to clipboard
Cannot log out user
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
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?
Sure, it's a new wordpress installation and the latest version of the pugin (respectively 4.7.2 and 0.6a)
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.
How are you logging out the user (from the blog and from Azure AD)?
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...
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.