golemcloud/golem/golem-add-http-auth-moonbit
- community
Checking that the SKILL.md file is still in the repository.
Enabling authentication on HTTP endpoints in MoonBit Golem agents. Use when the user asks to add auth, security, or access control to HTTP endpoints.
Install
npx vskill@latest install golemcloud/golem/golem-add-http-auth-moonbitSKILL.md
Enabling Authentication on MoonBit HTTP Endpoints
Overview
Golem supports authentication on HTTP endpoints via OIDC providers. Authentication is enabled in the agent code and configured via security schemes in golem.yaml. Load the golem-configure-api-domain skill for details on setting up security schemes and domain deployments, including when to use subdomain versus domain.
Enabling Auth on All Endpoints (Mount Level)
Set #derive.mount_auth(true) on the agent struct to require authentication for all endpoints:
Note: when #derive.mount_auth is not specified, authentication defaults to disabled.
Enabling Auth on Individual Endpoints
Set #derive.endpoint_auth(true) on specific endpoint methods:
Overriding Mount-Level Auth
Per-endpoint #derive.endpoint_auth overrides the mount-level #derive.mount_auth setting:
Accessing the Authenticated Principal
When auth is enabled, add a Principal parameter to the new constructor or endpoint methods to receive the authenticated identity. The SDK automatically injects the principal value:
Deployment Configuration
After enabling auth in code, you must configure a security scheme in golem.yaml. Load the golem-configure-api-domain skill for the full details, including when to use subdomain versus domain. Quick reference:
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckinggolem-skills/skills/moonbit/golem-add-http-auth-moonbit/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/golemcloud/golem/golem-add-http-auth-moonbit)