Skip to main content
Run any Skill in Manus
with one click

opencode-auth-plugin

Stars0
Forks0
UpdatedJune 2, 2026 at 00:55

Build (write/code) an opencode plugin that adds an OAuth login for a custom or self-hosted model provider — primarily the OAuth 2.0 device-code grant (RFC 8628) for headless setups (SSH, VPS, Docker, CI) — with Microsoft Entra ID (Azure AD) as the worked example. Use this when the user wants to create their own login in `opencode auth login` / the `/connect` picker by implementing the plugin `auth` hook (methods + authorize + a loader): running a device-code or browser OAuth flow, injecting a bearer token, refreshing the access token (e.g. via client.auth.set), or wiring opencode up to Azure OpenAI, Entra ID, Okta, Keycloak, Auth0, Google, Ping, or any OIDC/OAuth provider or internal model gateway. Trigger this even when phrased loosely, e.g. "add Entra ID login to opencode", "opencode custom provider OAuth", "authenticate opencode with our SSO", "opencode device-code auth plugin", or "let opencode log in to our internal model gateway". Do NOT use this for: signing into opencode's own built-in providers (Open

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
8 files
SKILL.md
readonly