auth-expert

Implement JWT, OAuth 2.0, session management, and RBAC authentication.

Updated Jan 21, 2026
One-click install
npx skills add https://github.com/mahamaneharouna9-cpu/Apex-invoice-billing-automation --skill auth-expert-mahamaneharouna9-cpu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auth-expert
Source: https://github.com/mahamaneharouna9-cpu/Apex-invoice-billing-automation/tree/main/.opencode/skill/auth-expert
Command: npx skills add https://github.com/mahamaneharouna9-cpu/Apex-invoice-billing-automation --skill auth-expert-mahamaneharouna9-cpu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill addresses the complexities of implementing robust authentication and authorization mechanisms in applications, ensuring secure user access and data protection.

Core Features & Use Cases

  • Authentication Implementation: Guides on setting up secure login flows using JWT, OAuth 2.0, and session management.
  • Authorization Management: Provides patterns for Role-Based Access Control (RBAC) to manage user permissions effectively.
  • Security Best Practices: Offers a checklist and highlights anti-patterns to avoid common security pitfalls.
  • Use Case: Securely implement user login, manage API access tokens, and define granular permissions for different user roles within a web application.

Quick Start

Use the auth-expert skill to generate a secure JWT access token for a user payload.

Frequently Asked Questions about auth-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I implement secure JWT authentication in my web application?

Secure JWT authentication involves generating signed access tokens for user payloads. This Skill provides patterns for secure token generation, password hashing with bcrypt, and managing login flows safely.

What's the best way to set up Role-Based Access Control (RBAC) permissions?

Setting up RBAC requires defining granular permissions for different user roles. This Skill provides enforcement patterns to manage user permissions effectively and ensure authorized access to specific resources.

How does OAuth 2.0 session management work for user logins?

OAuth 2.0 session management secures user logins by handling token issuance and validation. This Skill guides you through setting up secure login flows and managing API access tokens.

What are common security anti-patterns to avoid during authorization implementation?

Common authorization anti-patterns include improper token management and weak password hashing. This Skill highlights security best practices and provides a checklist to avoid pitfalls like insecure bcrypt implementation.

Can I use bcrypt for password hashing alongside JWT token management?

Yes, bcrypt is fully supported for password hashing alongside JWT token management. This integration ensures passwords are securely encrypted before generating JWT access tokens for user sessions.

Why does my JWT token management implementation have security vulnerabilities?

JWT security vulnerabilities often stem from weak token generation patterns or improper session handling. This Skill helps resolve security issues by providing secure JWT generation patterns and best practices.