SkyGuy
SkyGuy
TtRPC
Created by SkyGuy on 10/17/2023 in #❓-help
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-organization is there an alternative way to achieve this possibly given a custom link?
1 replies