Hey Medplum team!
@reshma @rahul1
We’re trying to implement the Domain-Level Identity Provider (DL-IDP) flow in our self-hosted Medplum setup, following the guidance in the docs. [
https://www.medplum.com/docs/auth/methods/domain-level-identity-providers] We’ve configured our DomainConfiguration resource and are aiming to redirect users based on their email domain to our own custom web app.
However, after sign-in, users are still being redirected to the default Medplum app instead of our web app. Are we missing any configuration on the self-hosted side to control or override the redirect behavior?
We also looked at the Medplum implementation here [
https://github.com/medplum/medplum/blob/main/packages/react/src/auth/AuthenticationForm.tsx], and it seems like it might be related to how the redirectPath is handled. Any tips or example setups would be super helpful!
Appreciate any guidance.