agentejo / cockpit

Add content management functionality to any site - plug & play / headless / api-first CMS
http://getcockpit.com
MIT License
5.39k stars 523 forks source link

Cannot use Authorization Bearer for authenticating requests #1480

Open downdrown opened 2 years ago

downdrown commented 2 years ago

I came accross the issue that I was not able to use the Authorization Bearer header to authorize my requests. When I used the custom Cockpit-Token header everything worked properly.

I think a custom header is a good alternative, I just don't want to send the token in the request URL as parameter.

EDIT: I'm using version 0.12.2

Maybe this is just a setup issue of mine, just wanted to share my experience. Cockpit_Authorization_Issue Cockpit_Authorization_Working