foomedical local installation.
# support
o
however connecting foomedical app I can't connect. Using existing user admin@example.com doesn't work and register user is failed. I am assuming the problem is on configuration of environment variables. I made couple of attempts changing config.ts but it doesn't work: I took a MEDPLUM_GOOGLE_CLIENT_ID and MEDPLUM_RECAPTCHA_SITE_KEY from hello world application (which works). I use a default credentials: admin@example.com medplum_admin both hello world and foomedical points to the same server. (// Replace these values with your own values for production export const MEDPLUM_PROJECT_ID = '9602358d-eeb0-4de8-bccf-e2438b5c9162'; //export const MEDPLUM_GOOGLE_CLIENT_ID = '679052511930-8dqur4mmg8egbttgos5pmr4ljtf3etbb.apps.googleusercontent.com'; //export const MEDPLUM_RECAPTCHA_SITE_KEY = '6LfFd_8gAAAAAOCVrZQ_aF2CN5b7s91NEYIu5GxL'; // for localhost taken from hello world app export const MEDPLUM_GOOGLE_CLIENT_ID ='397236612778-c0b5tnjv98frbo1tfuuha5vkme3cmq4s.apps.googleusercontent.com' export const MEDPLUM_RECAPTCHA_SITE_KEY='6LfHdsYdAAAAAC0uLnnRrDrhcXnziiUwKd8VtLNq' Can you please pointing me what I need to do to fix the issue and run foomedical connecting to the local medplum. Thanks
r
You are getting a "user Not found" error, which means that the user was not invited to your project as a patient. This simplest thing to do would be to invite a new user to your project with a
Patient
profile, and then try signing in
@oruchovets was this resolved/
o
hi @rahul1 , I am not sure how to do it? I mean all the systems medplum and foomedical are running locally on my laptop and I don't know will it send the invitation email using this setup. I would really like to try if you can pointing me how to invite a new user. Should I do it from medplum admin app?
r
Hi @oruchovets , you will have to click the sign up button and register a new account with a new email (eg. oruchovets+patient@gmail.com) Your current user account is a "Practitioner" account. You will need to also register a "Patient" account
You can find more details about the user model here: https://www.medplum.com/docs/auth/user-management-guide
153 Views