auth-authorization

Trace or modify Madoc TS authentication, JWT parsing, and route guards.

57|15|Updated Nov 28, 2018
One-click install
npx skills add https://github.com/digirati-co-uk/madoc-platform --skill auth-authorization
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: auth-authorization
Source: https://github.com/digirati-co-uk/madoc-platform/tree/main/.agents/skills/auth-authorization
Command: npx skills add https://github.com/digirati-co-uk/madoc-platform --skill auth-authorization

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Trace or modify Madoc TS authentication and authorization for login strategies, JWT parsing/verification, cookie handling, and route-level authorization in services/madoc-ts.

Core Features & Use Cases

  • Auth strategies and routes
  • JWT parsing middleware and cookie handling
  • Provider login flow and token verification
  • Role-based access control in middleware

Quick Start

Trace or modify Madoc TS authentication and authorization flows in the source to implement a new login strategy or adjust token verification.

Frequently Asked Questions about auth-authorization

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

FAQPage Schema
How do I implement a new login strategy in Madoc TS?

JWT parsing in Madoc TS is handled through middleware that verifies tokens, manages cookie handling, and processes token refresh operations to maintain authenticated sessions across protected routes.

How does JWT parsing and cookie handling work in Madoc TS?

JWT parsing in Madoc TS is handled through middleware that verifies tokens, manages cookie handling, and processes token refresh operations to maintain authenticated sessions across route guards.

Can I enforce role-based access control using Madoc TS middleware?

Yes, you can enforce role-based access control by modifying the route-level authorization middleware in Madoc TS to secure endpoints and restrict access based on authenticated user roles.

How do I debug provider login flows and token verification issues?

Debugging provider login flows involves tracing the authentication paths in services/madoc-ts to inspect JWT verification, token refresh logic, and middleware behavior during the authentication process.

What is the best way to secure Madoc TS authentication workflows?

Securing Madoc TS authentication workflows requires applying route guards, verifying JWT tokens, and managing cookie handling within the middleware to protect provider login and token refresh processes.