craftql icon indicating copy to clipboard operation
craftql copied to clipboard

Custom authorization header functionality

Open tomsseisums opened this issue 7 years ago • 0 comments

I have a setup where CraftCMS is used in fully headless fashion and our development/production host is behind Basic Auth.

Currently, if you're behind Basic Auth, it's impossible to auth with CraftQL, because it uses Authorization header value (as it is already used for Basic Auth).
Specifying multiple values, like Authorization: Basic <base64>, Bearer <token> is against spec.

Therefore, I implemented feature to provide custom Authorization header.

tomsseisums avatar Aug 22 '18 12:08 tomsseisums