Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 847 Bytes

File metadata and controls

24 lines (17 loc) · 847 Bytes

Request error

  • AuthorisationError: No authorisation header
  • AuthorisationError: Prefix authorisation header error: No a Bearer
  • AuthorisationError: No token: Only 1 part, space separate
  • AuthorisationError: Too many element in token: more than 2 part, space separate

JWT error

  • InvalidSignatureError: Invalid signature

  • DecodeError(InvalidTokenError): Cannot be decoded

  • InvalidTokenError: Error in token :

    • InvalidIssuedAtError: Issued at is in the future (iat key)
    • MissingRequiredClaimError(InvalidTokenError): missing reqired key
    • ExpiredSignatureError(InvalidTokenError): Expired
    • ImmatureSignatureError(InvalidTokenError): 'Not before' in the future (nbf key)
    • InvalidAlgorithmError(InvalidTokenError): Algo not recognized

User Auth

  • AuthError: User not found
  • AuthError: Password not match