Keystone OIDC
Turn your WordPress site into an OIDC identity provider and manage unlimited clients through a simple admin panel.
Install in
Keystone OIDC transforms your WordPress installation into a fully-featured OpenID Connect (OIDC) identity provider, allowing other applications to authenticate users via your WordPress user database.
Key Features
- OIDC Authorization Code Flow with PKCE support
- RS256 JWT signed access tokens and ID tokens
- Admin UI to create and manage multiple OIDC clients
- Client secret management – generate and reset secrets securely (shown only once)
- OIDC Discovery endpoint (
/wenisch-tech/keystone-oidc/.well-known/openid-configuration) for automatic client configuration - Standard scopes:
openid,profile,email - WordPress roles – the optional
rolesscope adds arolesclaim with the user’s WordPress roles to the ID token and UserInfo response - Refresh tokens for long-lived sessions
- Zero additional configuration after install – just create a client and you’re ready
Quick Start
- Install and activate the plugin
- Go to OIDC Provider Add Client in your WordPress admin
- Enter your application name and redirect URI(s)
- Copy the generated Client ID and Client Secret (shown once)
- Configure your OIDC client application with the discovery URL shown in the settings
Documentation
Full documentation (installation, client types, endpoint reference, upgrade notes and troubleshooting) is available at keystone-oidc.wenisch.tech.
Endpoints
All URLs are relative to your WordPress site root.
- Discovery:
/wenisch-tech/keystone-oidc/.well-known/openid-configuration - Authorization:
/wenisch-tech/keystone-oidc/oauth/authorize - Token:
/wenisch-tech/keystone-oidc/oauth/token - UserInfo:
/wenisch-tech/keystone-oidc/oauth/userinfo - JWKS:
/wenisch-tech/keystone-oidc/oauth/jwks
Compatibility aliases are also routed under /wenisch-tech/keystone-oidc/protocol/openid-connect/* for clients that still derive Keycloak-style paths from the custom issuer URI. These aliases are not advertised in discovery.
UserInfo Example
For openid profile email, /wenisch-tech/keystone-oidc/oauth/userinfo returns:
{
"sub": "42",
"name": "Jane Doe",
"given_name": "Jane",
"family_name": "Doe",
"preferred_username": "jane",
"email": "jane@example.com",
"email_verified": true
}
sub is the WordPress user ID as a string, `preferred_username` is the WordPress `user_login`, and `email` is the WordPress `user_email`.
With the roles scope, the response also contains a flat roles array of WordPress role slugs:
"roles": ["editor"]
The roles scope is opt-in: tick it in the client’s Allowed Scopes and request it from your application (for example scope=openid profile email roles). Capabilities are not exposed, and WordPress has no native groups, so no groups claim is sent.
[3.1.0](https://github.com/wenisch-tech/wordpress-keystone-oidc/compare/v3.0.1…v3.1.0) (2026-11-20)
Features
- Added support for extension hooks, custom claims, token lifetime and introduced automatic revocation upon passowrd reset / update user or delete user (66c7370)
- clients: allow private-use URI schemes for native app redirects (d7df97b)
Bug Fixes
- ensure artifact is created during PR so it can be validated (1d22483)
Documentation
- updated docs (069f95a)
3.0.1
3.0.1 (2026-11-19)
Documentation
3.0.0
[3.0.0](https://github.com/wenisch-tech/wordpress-keystone-oidc/compare/v2.4.1…v3.0.0) (2026-11-19)
⚠ BREAKING CHANGES
- security: the token endpoint previously accepted requests without a
client secret for any client. Confidential clients must now authenticate on
every token request (authorization_code and refresh_token grants), otherwise
they get 401 invalid_client. Public clients must use S256 PKCE.
Every client now has a type (confidential or public). Existing clients are
migrated to confidential, so clients that relied on PKCE without a secret
(SPAs, mobile apps) must be switched to “Public” in the admin UI.
Also: reject unknown code_challenge_method values and malformed PKCE
challenges/verifiers, URL-decode HTTP Basic credentials, reject client_id
mismatches between header and body, advertise “none” in discovery.
Add Docusaurus documentation (docs/, docs-site/) and a GitHub Pages workflow.
Bug Fixes
- security: require client authentication at the token endpoint (9293c3d)
- update docs from this branch (c8c792b)
- updated docs config (698e1a1)
- docs: add missing @mermaid-js/layout-elk dependency (a9fc9c6)
2.4.1
2.4.1 (2026-11-18)
2.4.0
[2.4.0](https://github.com/wenisch-tech/wordpress-keystone-oidc/compare/v2.3.6…v2.4.0) (2026-11-15)
Features
- add roles scope to expose WordPress roles as an OIDC claim (e51cde5)
2.3.6
2.3.6 (2026-10-18)
2.3.5
2.3.5 (2026-09-24)
2.3.4
2.3.4 (2026-08-21)
Bug Fixes
- tested and ensured compability for wp 7.1 (0c61067)
2.3.3
2.3.3 (2026-07-14)
2.3.2
2.3.2 (2026-06-23)
Bug Fixes
- ensure state sanitization does not malform string upon callback (b6c54be)
2.3.1
2.3.1 (2026-06-14)
Documentation
- ensured tested up to is properly set (3f2ab22)
- quickstart section in readme (20cd0a4)
- updated readme (960f77f)
2.3.0
[2.3.0](https://github.com/wenisch-tech/wordpress-keystone-oidc/compare/v2.2.2…v2.3.0) (2026-06-14)
Features
- consent-screen now uses theme default colors if available (24beefe)
Bug Fixes
- ensure compability with wordpress v7 (36f0d50)
2.2.2
Released on 2026-06-12.
Bug Fixes
- updated release versioning and changelog creation (98cfb30)
- updated repository links (f46b2b6)
- updatet generation of changelog. (357bded)
Documentation
- added “Report a bug” button to plugin page (8281f6c)
1.0.0
- Initial release
- Authorization Code Flow with PKCE
- RS256 JWT tokens
- Multi-client admin UI with secret management
- OIDC Discovery endpoint
- Refresh token support
Written by Joobi from the project's own listing. See the source page
3.1.0
Follow this listing's changes (Atom feed)