The inject bearer token example demonstrates how you can use hooks to inject a token into origin requests.
WunderGraph allows you to write http transport hooks, so you're able to manipulate requests before they are sent to the server, and responses before they are returned to the resolvers.
Hooks have access to the user object, so you can inject metadata from the user into a request, like an ID token in this example.
If you want to learn more about http transport hooks, have a look at the onOriginRequest hook reference.
Deploy to WunderGraph Cloud
The easiest way to deploy your WunderGraph app is to use WunderGraph Cloud.