New api tokens not working? #4750
-
I tried to switch my scripts to the new bearer tokens and I followed the API examples but I always get:
I even copied the code from the API example 1:1 and just inserted my token but I still get the "Full authentication required" error What am I missing here? the "KIMAI_API_TOKEN" should just be the token displayed once when creating it, right? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 25 replies
-
Beta Was this translation helpful? Give feedback.
-
I created a bug here to follow: #4774 The error now shows up in my logs as well. |
Beta Was this translation helpful? Give feedback.
-
Adding |
Beta Was this translation helpful? Give feedback.
Adding
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
to .htaccess seems to solve the problem.