dashboard-api-authentication

Official

Secure dashboard API calls.

Authororient-bot
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Ensures that all API calls made from the dashboard frontend are properly authenticated, preventing unauthorized access and ensuring data security.

Core Features & Use Cases

  • JWT Token Handling: Manages the secure storage and transmission of JWT tokens for API authentication.
  • apiRequest Helper: Provides a standardized, secure method for making authenticated HTTP requests.
  • 401 Error Handling: Automatically detects and handles authentication expiry by clearing tokens and reloading the page.
  • Use Case: When a user logs into the dashboard, their session is maintained via JWT. This skill ensures that every subsequent request to fetch user data, update settings, or perform actions includes the necessary token, and gracefully handles cases where the token becomes invalid.

Quick Start

Use the getFeatureFlags() function from the api.ts module to fetch feature flag data.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: dashboard-api-authentication
Download link: https://github.com/orient-bot/orient/archive/main.zip#dashboard-api-authentication

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.