recipes
recipes copied to clipboard
API usage
Issue
I'm having trouble authenticating the API through a reverse proxy. I can run a simple API call like this inside the docker container and I have no troubles:
curl -X GET -H 'Authorization: Token bd7be19190910316b3a54d1d3623ddb441e02d64' http://localhost/api/recipe/
However, when I run the same command (with modified url) I get {"detail":"Authentication credentials were not provided."}
as a response.
I'm using Nginx Proxy Manager, and the website is working perfectly fine, so I suspect something is being blocked specifically for the API
Tandoor Version
1.3.2
OS Version
Opensuse
Setup
Docker / Docker-Compose
Reverse Proxy
Nginx Proxy Manager (NPM)
Other
No response
Environment file
No response
Docker-Compose file
No response
Relevant logs
No response
the frontend does use the api all the time but with session authentication so it might be that you have a nginx config somewhere that strips the auth header
are you using the built in nginx config or did you setup your own?