kerberos-io / web

(DEPRECATED) An open source GUI to configure the machinery and to view events that were detected by the machinery.
https://www.kerberos.io
225 stars 69 forks source link

Unable to perform some REST API requests #128

Open dtbaker opened 5 years ago

dtbaker commented 5 years ago

Describe the bug

Hello, I can successfully request endpoints such as /api/v1/images/latest_sequence using the REST API and a base64 encoded Authorization header

As documented here: https://doc.kerberos.io/2.0/web/aPI

But for some reason I cannot access other endpoints such as: /api/v1/images/days - this one just redirects me to the login form.

UPDATE It's now clear why I cannot access some API endpoints. I had a look at https://github.com/kerberos-io/web/blob/master/routes/api.php and can see the difference between Auth and Basic endpoints.

I'll just update this file with some new v2 endpoints and play with those. Thanks!

cedricve commented 5 years ago

Let me check