OAuth 2.1 authorization server and auth library for Go: sessions, magic links, WebAuthn/passkeys, TOTP, SAML, SCIM, RBAC, and MCP resource-server authorization. Postgres, MySQL, and in-memory storage.
View on GitHub →
🔍 Audit Wallet Slippage →
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"theauth-go": {
"command": "go",
"args": [
"run",
"github.com/glincker/theauth-go@latest"
]
}
}
}
Run in terminal:
claude mcp add theauth-go go run github.com/glincker/theauth-go@latest
Add to .cursor/mcp.json:
{
"mcpServers": {
"theauth-go": {
"command": "go",
"args": [
"run",
"github.com/glincker/theauth-go@latest"
]
}
}
}
README Excerpt
<!-- keywords: oauth2 oauth-server oidc mcp mcp-authorization go golang authorization-server pkce jwt saml scim webauthn totp rbac ed25519 postgres agent-identity delegation fapi dpop ciba par jar token-exchange --> <div align="center"> ``` ████████╗██╗ ██╗███████╗ █████╗ ██╗ ██╗████████╗██╗ ██╗ ██████╗ ██████╗
Topics
authenticationauthorization-servergogolangidentity-providerjwtmagic-linkmcpmcp-authorizationoauth-serveroauth2oidcpasskeyspkcerbac