Passing Cookies / Authentication For QStash
Summery:
Adding cookies / authentication in my qstash schedule as the API route is protected
Note: Everything works fine locally when i use postman for api testing.
QStash does hit the endpoint correctly in prod / testing locally
Stack:
Nextjs: 15v
route.ts
Just to rephrase is there any way i can pass on "MY_CUSTOM_TOKEN" from qstash to my server for authentication
2 Replies
any guidance or response is greatly appreciated
thanks in advance
Solution
the solution was using this header
