tinho_14
02/21/2024, 7:00 PMpravinu
02/22/2024, 4:57 AMtinho_14
02/22/2024, 12:16 PMtinho_14
02/22/2024, 6:25 PMrahul1
02/22/2024, 6:31 PMSignInForm
react component: https://github.com/medplum/medplum/blob/main/packages/react/src/auth/SignInForm.tsx.
Specifically here, we show a "ChooseProfileForm" when a Login results in multiple ProjectMemberships: https://github.com/medplum/medplum/blob/main/packages/react/src/auth/SignInForm.tsx#L131-L132rahul1
02/22/2024, 6:31 PMrahul1
02/22/2024, 6:35 PMUser.project
field, but this is not recommended. What is the use case for having patients in multiple projects?tinho_14
02/22/2024, 6:41 PMrahul1
02/22/2024, 6:50 PMProjects
are not the best way to model the isolation between your clinics.
This might better be accomplished via access policiestinho_14
02/22/2024, 7:02 PMrahul1
02/22/2024, 7:03 PMrahul1
02/22/2024, 7:04 PMtinho_14
02/22/2024, 7:05 PMtinho_14
02/22/2024, 7:42 PMrahul1
02/23/2024, 5:47 PMstartLogin
call:
https://github.com/medplum/medplum/blob/main/packages/react/src/auth/AuthenticationForm.tsx#L142-L151rahul1
02/23/2024, 5:47 PMrahul1
02/23/2024, 5:50 PMtinho_14
02/23/2024, 7:36 PM