LogoClawIndex
CasesSkillsAbout
LogoClawIndex

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.

nitrostack-auth-security - NitroStack Auth and Security Best Practices

Best practices for implementing JWT, API Keys, OAuth 2.1, and RBAC in a NitroStack application.

Tags

Updated: 2026-09-12

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • Register JWTModule
  • Implement JWTGuard
  • Register ApiKeyModule
  • Implement ApiKeyGuard
  • Chain guards for RBAC

Inputs

  • JWT_SECRET environment variable
  • API_KEY environment variables
  • Authorization header metadata
  • x-api-key header metadata

Outputs

  • Authenticated context auth object
  • Guard execution boolean status

Requirements

  • @nitrostack/core package
  • jsonwebtoken package

Source

  • Spec: SKILL.md
nitrostack
authentication
jwt
api-key
rbac
security
Register JWTModule
Implement JWTGuard
Register ApiKeyModule
Implement ApiKeyGuard
JWT_SECRET environment variable
API_KEY environment variables
Authorization header metadata
Authenticated context auth object
Guard execution boolean status