golem-add-http-auth-ts

Implement OIDC authentication for TypeScript HTTP endpoints via golem.yaml configuration.

1|Updated Oct 9, 2025
One-click install
npx skills add https://github.com/justcoon/golem-shopping-ts --skill golem-add-http-auth-ts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: golem-add-http-auth-ts
Source: https://github.com/justcoon/golem-shopping-ts/tree/main/.agents/skills/golem-add-http-auth-ts
Command: npx skills add https://github.com/justcoon/golem-shopping-ts --skill golem-add-http-auth-ts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables developers to add authentication to TypeScript-based HTTP endpoints, enhancing security and access control for web services.

Core Features & Use Cases

  • Authentication Integration: Allows enabling auth via OIDC providers in agent code.
  • Endpoint Security: Supports requiring authentication on specific or all HTTP endpoints.
  • Principal Access: Facilitates receiving user identity information in endpoint methods.
  • Use Case: When deploying APIs that handle sensitive data, this Skill helps developers enforce authentication requirements effortlessly, ensuring only authorized users access protected resources.

Quick Start

Configure security schemes in golem.yaml and specify auth: true in code annotations to protect HTTP endpoints.

Frequently Asked Questions about golem-add-http-auth-ts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add authentication to TypeScript HTTP endpoints?

You can secure TypeScript HTTP endpoints by configuring security schemes in golem.yaml and specifying auth: true in code annotations. This setup enforces access control on specific or all endpoints using OIDC providers.

How does OIDC authentication work for API endpoint protection?

OIDC authentication for API endpoint protection works by validating user identity through configured providers in golem.yaml. It enforces access control at the endpoint or mount level and passes user identity information to endpoint methods.

Can I enforce authentication on specific HTTP endpoints and not others?

Yes, you can require authentication on specific HTTP endpoints by applying auth: true in code annotations. This allows flexible access control enforcement at the endpoint or mount level without securing every route globally.

How do I access user identity information in authenticated endpoint methods?

When securing TypeScript HTTP endpoints with this authentication setup, principal access is facilitated directly in endpoint methods. You receive user identity information from the configured OIDC provider to handle authorized requests.

What is the best way to secure sensitive data APIs in TypeScript?

The best way to secure sensitive data APIs in TypeScript is by enabling auth via OIDC providers in agent code and configuring security schemes in golem.yaml. This ensures only authorized users access protected resources.