docusaurus-auth

Adds FastAPI-backed JWT authentication and protected content to Docusaurus static sites.

5|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/MuhammedSuhaib/LevelUpSpeckit-Plus --skill docusaurus-auth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: docusaurus-auth
Source: https://github.com/MuhammedSuhaib/LevelUpSpeckit-Plus/tree/main/Skill+SubAgents/skills/docusaurus-auth
Command: npx skills add https://github.com/MuhammedSuhaib/LevelUpSpeckit-Plus --skill docusaurus-auth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill adds authentication to Docusaurus static sites with a FastAPI backend and JWT-based security, enabling client-side login, server-side verification, and protected content delivery for documentation sites.

Core Features & Use Cases

  • FastAPI backend: User registration/login endpoints and JWT token generation.
  • JWT token management: Token issuance, verification, and possible refresh strategies.
  • Client-side integration: Login UI in Docusaurus and token storage.
  • Protected content: Render personalized content behind JWT checks.
  • Security best practices: CORS, token storage, and user data isolation.

Quick Start

  1. Spin up a FastAPI backend with login/token endpoints.
  2. Integrate a login form in Docusaurus and store JWTs on the client.
  3. Protect API routes and render personalized docs based on user identity.