Skip to content
docsv0.1.0

Milpa OAuth Providers v0.1.0

Seven zero-dependency OAuth 2.0 / social-login providers for Milpa — Google, GitHub, GitLab, Facebook, Apple, Twitch, and the Telegram Login Widget. Build the authorization URL, exchange the code, get back a typed, immutable UserInfo DTO — no storage, no sessions, no framework coupling.

Modules declare the capabilities they provide and require, expose tools an agent can invoke, and gate mutating actions behind verification. The contract loop that runs through the whole system:

plugin → capability → tool → verification → event → result

installbash
composer require milpa/oauth-providers

API reference

21 public types across 1 namespaces — every symbol carries a DocBlock, and this reference is generated straight from them.

OAuth 21