legit-api-token-jwt
CommunityFetch Legit JWTs via HS512 JWS.
Authortombelial666
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Acquire a Legit JWT for Legit-protected APIs by constructing a compliant JWS and exchanging it for a token, enabling authenticated access and debugging 401 errors.
Core Features & Use Cases
- Build a JWS with HS512 using the required header (cty: JWS, alg: HS512) and body (username, entity, datetime) and the correct Base64URL encoding.
- POST the JWS to the Legit endpoint to retrieve a JWT that can be used in Authorization headers for APEX/Legit API calls.
- Support automated token generation via Node scripts or Postman workflows for CI and local development.
Quick Start
Configure your environment with APEX_LEGIT_USERNAME, APEX_LEGIT_ENTITY, and APEX_SHARED_SECRET, then run the Node script to generate and obtain the JWT from the Legit endpoint.
Dependency Matrix
Required Modules
None requiredComponents
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: legit-api-token-jwt Download link: https://github.com/tombelial666/test/archive/main.zip#legit-api-token-jwt Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.