Hi there, We had a query while using MedplumProvid...
# dev
p
Hi there, We had a query while using MedplumProvider from @medplum/react library. In foomedical, the provider is passed a client like below. We are wondering how does this client know which project to use? The sign in form has the project id but the provider does not. Is that correct? And if so, how is the provider getting the Project Id. If there is any documentation of react MedplumProvider, that would be great too. const medplum = new MedplumClient({ onUnauthenticated: () => (window.location.href = '/'), });
r
Hi @pankaj_81531 - this would be a great question for our #1094022380659155005 forum. Would you mind asking there?
p
Thanks @rahul1. My team figured out the answer. Happy to contribute if this is getting documented somewhere.
163 Views