Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authorization header not working in API Routes #143

Open
raphi-0901 opened this issue Jul 29, 2024 · 0 comments
Open

Authorization header not working in API Routes #143

raphi-0901 opened this issue Jul 29, 2024 · 0 comments

Comments

@raphi-0901
Copy link

raphi-0901 commented Jul 29, 2024

I have set this in my Authenticated and Public permission tab:
image

When trying to access the endpoint via Postman without an API key, all endpoints work as expected.

But if I add my API key to the request, only the find enpoint keeps working.

This is my find response with API key:
image

This is my create response with API key:
image

in the console of my strapi I get this error:
image

And this is the same request without API key:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant