• Resolved sgordytn

    (@sgordytn)


    I have a number of employees who regularly join and leave my organization, I was wondering if there is some information about how to add or disable users in Authorizer using a script of some sort?

    TY in advance.

Viewing 1 replies (of 1 total)
  • Plugin Author Paul Ryan

    (@figureone)

    We considered adding something like this for a long time but decided it was really tough to scale across all authentication providers. The core issues is there’s no consistent way to receive a message for a “deprovisioning” event.

    For your specific case, I’d suggest a cron job with a script that:

    You might need to filter out some WordPress users that aren’t on the auth backend but shouldn’t be deleted.

    One other option is to configure Authorizer to disable WordPress logins. This means folks can only log in if they have an active account on the backend. Downsides are you can’t log in if the auth backend goes down, and deprovisioned users who are still logged into WordPress will remain logged in until their WordPress login cookie expires.

Viewing 1 replies (of 1 total)
  • The topic ‘Programmatically Adding & Disabling Users’ is closed to new replies.