Skip to main content
Execute qualquer Skill no Manus
com um clique

opencode-auth-plugin

Estrelas0
Forks0
Atualizado2 de junho de 2026 às 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

Instalação

Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.

Explorador de arquivos
8 arquivos
SKILL.md
readonly