-
-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
Description
Describe the feature
I am trying to set a Bearer token that I only obtain server-side after module initialization, so any nuxt.config.ts options are definitely not an option.
In order to be able to take advantage of the client side composable and not have to redefine all my endpoints on the server side solely to redo what runtime/server/handler.ts already does I think I might need a hook of some sort that I can use to modify the proxied requests headers on server side just before sending the request to the backend api.
any pointers on this matter are very welcomed!
Additional information
- Would you be willing to help implement this feature?
- Can you think of other implementations of this feature?
Final checks
- Check existing issues.