Skip to content

Logout of WordPress AND Active Directory? #184

Closed
@tmann50

Description

@tmann50

Hi,

I have just started using this plugin, it’s really good apart for one thing which I have noticed...
When you try to log out of the Wordpress site, you are either taken back to the admin dashboard or told that you have logged out of Wordpress (which you haven’t because you are still logged in - you can navigate back to the dashboard without re-authenticating).

I think that this is because when you ‘log out’ of WP, you still do not log out of the Azure AD. An option to make this happen would be v. useful. For example, volunteers in my organisation use their organisation accounts to login to Wordpress, but use other Office 365 accounts for work - for example, and this can make signing out tricky.
if users Explicitly want to log out of WordPress, then pressing the logout button should log them out of Azure as well.

I know not everyone will be keen on this idea, but having it a a configurable option would be good. If for now this cannot happen, then if there are a few lines of code (in the logout or plugin scripts) that could do this for me perhaps someone could tell me what and and where to put it?

Sorry for my lengthy question/explanation, I am not that good when it comes to website coding and stuff...

Thanks

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions