Skip to content

Problem with getting Data via the todo endpoint:

Firstly thanks for this very nice plugin. I think this can help me a lot. But I seem to have a problem with receiving the data. I am using Strapi 4.24 I implemented the Plugin as described

My Keycloak is running and I have it configured like it is described in the tutorial.

Now when I take the accesstoken from keycloak and send a get request via postman to localhost:1337/api/todos i get this error:

{ "data": null,\n "error": {\n "status": 401,\n "name": "UnauthorizedError", "message": "Missing or invalid credentials", "details": {} } }

Did I miss something with the keycloak configuration? Or do I have to finish all the steps in the tutorial first so that it works? (I did all steps including the route protection) If you need more Info please say so.

Thank you and Greetings!

Edited by hansi312