Claudeskills.frClaudeskills.fr

pluginagentmarketplace/custom-plugin-nodejs

Authentification JWT

JWT Authentication

227installations2étoiles GitHub

3 868e ex aequo sur 4 265 skills du métier Développement, par installations. Dans l'annuaire depuis le 18 novembre 2026.

Description

Une implémentation classique de l'authentification JWT pour Node.js, qui couvre l'essentiel : hachage de mots de passe avec bcrypt, jetons d'accès et de rafraîchissement, middleware d'authentification et contrôle d'accès par rôles. Il présente l'inscription, la connexion et la protection des routes avec des exemples pratiques.

Voir la description originale (anglais)

This is your standard JWT authentication implementation for Node.js, covering the essentials: bcrypt password hashing, access and refresh tokens, auth middleware, and role-based access control. The skill walks through registration, login, and route protection with practical examples, then gets into token refresh flows and password resets. It bonds with the Node.js fundamentals skill, which makes sense since you need to understand Express routing and async patterns before tackling auth. The security checklist is solid (short-lived access tokens, HTTPS, rate limiting), though nothing groundbreaking. Use this when you're building a REST API and need stateless authentication that scales horizontally without session storage headaches.

Installer le skill

  1. 1Copiez la commande d'installation (bouton Copier, en haut de la fiche).
  2. 2Lancez-la dans un terminal, sur la machine où vous utilisez Claude Code.
  3. 3Demandez la tâche à Claude comme d'habitude : il charge le skill quand la demande s'y prête.
Skill non audité par Claudeskills.fr. Des tiers publient les skills de l'annuaire. Lisez leur source avant de les installer, surtout sur des données sensibles.