Skip to content

Micropub query endpoint does not accept Bearer token #825

@aciccarello

Description

@aciccarello

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.

Screenshot of Chrome requests getting redirected.

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions