Skip to content

Authentication for GET Methods #9

Description

@volcodes

Authentication for GET methods, The GetUsers endpoint must ask for an access token that is valid. When the user make GET request to "api/users"


Implement JWT token verification for GET endpoints, specifically for the users listing endpoint.

Requirements

  • Create authentication middleware
  • Add JWT verification logic
  • Update Swagger documentation
  • Add token expiration handling
  • Implement token blacklisting
  • Add proper error responses
  • Add rate limiting for authenticated endpoints

QA

  • Test valid token access
  • Test expired token access
  • Test invalid token format
  • Test missing token
  • Verify rate limiting
  • Check error message format
  • Test blacklisted tokens

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions