KatjaGlassConsulting / TimeKex

Timetracking - Kimai meets Excel
MIT License
6 stars 3 forks source link

`X-AUTH-*` deprecated #7

Open pkoevesdi opened 3 months ago

pkoevesdi commented 3 months ago

The X-AUTH-* authorization, see https://www.kimai.org/documentation/2.13.0/user-api.html, is deprecated and does not work on our on-premise-installation of current Kimai, although it works on the current Kimai Demo. Correct authorization scheme is Authorization: Bearer, see https://www.kimai.org/documentation/user-api.html.

I'll make a pull request.

pkoevesdi commented 3 months ago

Side note: I saw, X-AUTH-* probably still works (didn't try), when setting and using an API password instead of a token, see https://demo-stable.kimai.org/de/profile/susan_super/api-token. But anyway, also there it's marked as deprecated.