# JWT Auth

> Scaffold JWT bearer authentication for a stateless JSON API. Recommends Spring Security's resource server (framework verifies signature + exp); also ships a custom OncePerRequestFilter using jjwt for teams that need it — it verifies the signature, rejects alg=none, checks exp/nbf, and returns 401 JSON on failure. Secret from env. Trigger phrases: "jwt auth", "bearer token", "validate jwt", "secure my api with tokens", "jwt filter", "resource server".

## Facts
- Page: https://tashan.sh/capability/skill-shipwithai-jwt-auth
- tashan id: skill:ShipWithAI/jwt-auth
- Source: https://github.com/ShipWithAI/shipwithai-plugins
- Type: skill
- Category: security
- tashan score: not scored (catalogued only — too little public evidence)
- Adoption: 9.0
- Upkeep: 99.0
- Freshness: 98.0
- Evidence coverage: 84% of the inputs this score can use
- Health: active
- Instruction depth: not yet graded
- License: MIT
- Official: no

## Install

```sh
cp -r jwt-auth ~/.claude/skills/
```

## Security audit
Not scanned. We audit npm-published capabilities; this one has no npm package we can resolve, or has not reached the queue. This is not a clean bill of health.

---
Measured 2026-08-14 by tashan (https://tashan.sh) from public evidence. Scorer s5.
