Project-scoped users not able to login
# support
s
I've added our practitioners to our Medplum-hosted project and given them the appropriate access. They're project-scoped non-admin users, but they cannot access the Medplum project. Seems like they are able to login to Medplum, but they don't see the project in the list of available projects. Can I get help resolving this? I can share project/user ids.
I'm able to reproduce this with a test project. Project-scoped user logins don't seem to work.
a
Hey Stephen! Can you send me the project ID? that way I can check if the project membership is wired up correctly
s
Yep project id is
7725cbad-0524-4521-827e-d2537cbca536
a
sorry forgot to ask - which user ids?
s
You need the User or ProjectMembership IDs?
It's the 3 non-admin users, let me get them
Copy code
cf84c0b1-529c-4165-a6e7-8c91f03746af
95754fe5-138d-449f-b6af-ba2a3270bd96
f68e626c-d25a-4ed5-a69d-b882e391f8b9
a
In general project scoped users can't access app.medplum.com. They need to be server scoped to see projects there.
s
Ah ok, so are they able to access the provider portal?
I guess for cloud-hosted, server vs project scoped isn't as important? Wondering if I should just set our practitioners to server-scoped unless they can access the provider portal
a
in general app.medplum.com isn't where providers would normally be spending time. if you want them to access app.medplum.com you would have to make them server scoped.
In general providers and patients don't login to the medplum app.
try the workaround at the bottom of the page for app.medplum.com https://www.medplum.com/docs/app/sign-in-page
s
What about provider.medplum.com though? And if not those, what can project scoped users access?
It seems appending the project id to app.medplum.com/signin works, but I guess I just don't understand the point of project-scoped users if they can't access the app?
a
yes project scope users can access provider.medplum.com (as of this PR: https://github.com/medplum/medplum/pull/8597) Thanks for bringing it up!
which app are you referring to here?
s
Ok perfect this is what I need!
Is there any work planned to allow project-scoped users to access app.medplum.com without having to append the project id query param? This is a fine workaround but is less than ideal having to pass this link around to our practitioners
a
Nothing near term that I can see atm unfortunately
31 Views