skeeks / cms-oauth2-server
OAuth 2.1 authorization server for SkeekS CMS
Package info
github.com/skeeks-cms/cms-oauth2-server
Type:yii2-extension
pkg:composer/skeeks/cms-oauth2-server
Requires
- php: ^7.4|^8.0
- skeeks/cms: ^6.4 || dev-master
README
OAuth 2.1 authorization-code server with PKCE, dynamic client registration, resource indicators and scoped bearer tokens for SkeekS CMS integrations.
Authorization-code exchanges issue rotating refresh tokens. Clients can use
grant_type=refresh_token to renew access without another browser login.
Refresh-token reuse revokes the complete token family and its access tokens.
Raw access and refresh tokens are never stored or displayed.
The authorization server metadata advertises both authorization_code and
refresh_token grants. A client registers once, stores its client_id and
client_secret, completes PKCE authorization for a configured resource, and
then persists the returned refresh token in its operating-system credential
store. Every successful refresh returns a replacement refresh token; the old
value must be discarded immediately.
The package is transport-neutral. Consumers such as skeeks/cms-mcp register
their resources and scopes through the oauth2Server.resources configuration.
See AGENTS.md for architecture, resource registration and mandatory
engineering rules for AI agents.