Description of the bug
While testing Omnibear, I noticed that requests to the query endpoint was failing. I can see that the requests are getting redirected to the login page even though Omnibear just got a token and is sending it in the request headers. If the cookie has been set, the request goes through fine, but often that is not the case.
Steps to reproduce
No response
Expected behaviour
Requests to the query endpoint should accept the Authorization header as a valid authentication method.
Environment
- Indiekit version v1.0.0-beta.24
- Chrome
Additional context
No response
Description of the bug
While testing Omnibear, I noticed that requests to the query endpoint was failing. I can see that the requests are getting redirected to the login page even though Omnibear just got a token and is sending it in the request headers. If the cookie has been set, the request goes through fine, but often that is not the case.
Steps to reproduce
No response
Expected behaviour
Requests to the query endpoint should accept the Authorization header as a valid authentication method.
Environment
Additional context
No response