fused-auth
Author Fused developer OAuth authentication using the built-in Fused Auth client, PKCE and callback state, token refresh/revocation, and delegated Admin access. Distinguish this from downstream provider OAuth and MCP execution tokens.
- License 许可
- Apache-2.0
- 所属仓库
- Usefused/harnest
- 最近更新
- 2026-11-14
- Stars
- ★ 3
- Forks
- 1
01 前言 Front Matter
- name
- fused-auth
- description
- Author Fused developer OAuth authentication using the built-in Fused Auth client, PKCE and callback state, token refresh/revocation, and delegated Admin access. Distinguish this from downstream provider OAuth and MCP execution tokens.
02 资源文件 1
- 参考文档references/client.md3.6 KB
03 SKILL.md 正文
Fused Auth
Produce a trusted application authentication flow that obtains the developer's delegated Fused OAuth grant for management actions without exposing tokens to an LLM or authored agent state.
Read references/client.md for the supported client and
OAuth flow. Load fused-admin when the authenticated application needs to
discover services, create MCP servers, or issue execution tokens. Load
harnest-authentication when implementing an authored agent's incoming identity
or credential-provider boundary.
Required decisions
- Identify the actual Fused issuer, registered client ID, exact callback URI, and intended scopes. Public clients use PKCE without a client secret; confidential clients keep their secret on the trusted server.
- Keep state and the PKCE verifier bound to the initiating browser session. Validate and consume state once before exchanging the callback code.
- Pass the resulting OAuth access token only to the trusted Fused Admin client. An MCP execution token and a downstream provider's OAuth connection are different credentials; do not substitute one for another.
- Handle expiry, refresh, revocation, cancellation, and reconnect explicitly. Never log tokens, verifiers, authorization codes, or raw OAuth error bodies.
- Expose only connected status and non-secret capability metadata to the model. Credentials stay out of prompts, source proposals, sessions, and checkpoints.
The SDK constructs the authorization URL; the host still owns the browser redirect, callback validation, token storage, and refresh policy. Do not invent a completed login, register an OAuth application implicitly, or ask for credentials in chat. When the current host offers only code proposals, explain which host-side steps remain instead of claiming authentication or external actions occurred.
04 同仓库更多 Skills
company-support
Help employees resolve support requests using approved services.
company-builder
Build agents using the company support catalog and native Harnest contracts.
incident-triage
Triage customer-reported service incidents when production impact, errors, authentication failures, or integrations are mentioned.
harnest-studio
Configure Harnest Studio workspaces, loaded packs, company distributions, and builder model, endpoint, credential references, budgets, or CA settings. Use for Studio launch and pack configuration; use harnest-studio-ui for visual customization.
harnest-studio-ui
Customize Harnest Studio through UI packs: themes, layouts, isolated views, trusted modules, or shell replacements. Use for Studio styling, Tailwind or Panda CSS builds, section swaps, and UI recovery; not agent runtime configuration.
harnest-authoring
Build, modify, test, or review Harnest agents and source, including folders, APIs, frameworks, resources, extensions, plugins, lifecycle, MCP, skills, evals, compilation, running, and serving.