Skip to content

JWT Token Authentication #58

@newway1814

Description

@newway1814
  • Middleware: authenticateToken
  • Description: Verifies JWT tokens and extracts user information
  • Token Format: Bearer token in Authorization header
  • Extracts: userId and roles from token payload
  • Error Handling: Returns 401 Unauthorized for invalid tokens
  • Integration: Works with user-service JWT tokens

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions