Articles

This content is in the process of being styled since being imported from a previous system, and may lack some formatting detail or imagery.

Environment Profile WordPress Plugin

  • Open Source
  • Work Life

I'm configuring WordPress to work with an external authentication system and need to automatically log in a user and create a new user in WordPress if none exists. The user's details are available to WordPress in environment variables.

To do this, I'm using three plugins:

Firstly, I'd like to thank Daniel for accepting (with changes) my patch to facilitate the creation of non-existent users, an option that can be disabled if you don't want this feature. The first two plugins solved nearly all of my issues, with the exception of using environment variables to fill in the user data on user creation, and in true open source fashion, these three distinct plugins now do a job particularly well, and can be used in conjunction with or separately from each other.

[Update 6th August] I've now had approval from the powers that be, and this plugin is now available for your enjoyment.

Comments

Comments for this post are currently disabled.

Subscribe to my Newsletter

* indicates a required field

I don't send many updates. I don't like to spam. Let's face it - I've not posted many new articles for a while (although I do plan on changing that). If you subscribe to new articles, I'll send no more than two emails a week. As for workshop and conference information, that'll be as and when I have details. It's not likely to be more than an email a week.

Topics