passing user input state variable to all api calls
I have a multi organization app and need a way of passing the current organizationId on all requests. Auth to this organization needs to be verified in a procedure. My presumption is that is best set as a header i.e. x-selected-organizationx-selected-organization is there an alternative way to achieve this possibly given a custom link?
No replies yet
Join the Discord to continue the conversation
t
tRPC
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.