News for hackers. Stuff that matters.
Re:Ask HN: GraphQL in 2024 by piizei on Sunday December 17, 2023 @04:58AM (#38671735)
Looks and feels a lot like AWS Amplify (which is not a bad thing). I assume the difference is that this runs on the frontend server (node) where Amplify tranformation happens on AppSync. Definetly going to test this. What is bit unclear what is the interface with the frontend server to tailcall,like how do I pass the JWT tokens from node app to @upstream headers?
Re:Ask HN: GraphQL in 2024 by tusharmath on Tuesday December 19, 2023 @07:13AM (#38694613)
I am not sure if I understand what you by the "frontend server"? I think Tailcall is closer to AppSync than Amplify.

Second part of your question: You can define a set of "allowed headers" that will be automatically forwarded upstream. In your case, you can set the allowed headers to `Authorization`.

Link to the doc:

https://tailcall.run/docs/guides/operators/#allowedheaders