tailcall: bug: Error message on Authentication Faliure

The error message for not Providing Header and Invalid(random string) Header is giving the same error like given below

{
  "data": null,
  "errors": [
    {
      "message": "Authentication Failure: Parameters not provided in the request.",
      "locations": [
        {
          "line": 3,
          "column": 5
        }
      ]
    }
  ]
}

Expected behaviour:

  1. Header not provided Authentication Failure: Missing Authorization Header
  2. Invalid Value Provided Authentication Failure: Invalid Authorization Header

About this issue

  • Original URL
  • State: closed
  • Created 3 months ago
  • Comments: 21 (13 by maintainers)

Most upvoted comments

.typed_get::<Authorization<Basic>>() this to get value the token its seems the token need to be some specific way. otherwise it is returning None.