WordPress
Sign in to any WordPress site with Pocket ID.
Replace my-website.com with the URL of your WordPress instance and id.example.com with the URL of your Pocket ID instance.
This guide uses the OpenID Connect Generic Client WordPress Plugin. Other plugins should work about the same.
Create the client in Pocket ID
Section titled “Create the client in Pocket ID”- In Pocket ID, open Administration → OIDC Clients and click Add OIDC Client.
- Enter a name such as
WordPressand add the callback URLhttps://my-website.com/wp-admin. - Click Create and copy the Client ID, the Client secret and the OIDC Discovery URL. The client secret is only shown once.
- On the client’s Access tab, select the groups that may sign in under Allowed User Groups, or choose All Users.
Configure WordPress
Section titled “Configure WordPress”- Open the WordPress admin interface and go to Plugins → Add Plugin.
- Search for
OpenID Connect Generic ClientbyJonathan Daggerhart, then click Install and Activate. - Go to Settings → OpenID Connect Client.
- At the top, you’ll find a Quick Setup. Enter the OIDC Discovery URL from Pocket ID and click Load Configuration.
- Fill out the following fields:
- Login Type:
OpenID connect button on login form. Do NOT change this until you’ve successfully tested your new OIDC login! - Client ID: the Client ID from Pocket ID
- Client Secret: the Client secret from Pocket ID
- Login Type:
- Save your settings.
- Open a private browser window and make sure the OIDC login works.
- (Optional) Change Login Type to
Auto Login - SSO.
Troubleshooting
Section titled “Troubleshooting”If you use the Kadence Security plugin, make sure 2FA is disabled.
Otherwise the login process redirects you back to your Pocket ID instance and you can’t get into the WordPress admin page.