Using SSO + GridPane Notes

What is SSO (Single Sign On)?

Technically from Wikipedia

Single sign-on (SSO) is an authentication scheme that allows a user to log in with a single ID and password to any of several related, yet independent, software systems.

But what about GridPane's WP Admin SSO? Well, it's not actually SSO? It's instead a magic link that provides access to your WordPress site using a link.

GridPane's SSO Implementation

They currently use the WP CLI Login Command which installs a companion plugin and allows you to generate a magic link using wp-cli

Technical Bits

To start using The WP CLI Login Command tool, simply run the following command via SSH. Make sure you're logged in as the site user so that you don't cause permissions issues, or if you're logged in as root, chown the files created.

wp login install --activate

This will install a companion plugin called wp-cli-login-server.php into wp-content/mu-plugins

You can then start generating magic URLs.

wp login create zerocool

That's pretty much it!

Related Links