recaptcha assistance
# support
z
Hello I wanted to do AWS self hosting with a custom medplum app that's patient focused. I currently have a nextjs app and I think trying to deploy it has been quite tricky. I wanted to use vercel since it's the fastest for our use case. So I think the environment variables we have at the moment that we need to modify is: const googleClientId = '921088377005-3j1sa10vr6hj86jgmdfh2l53v3mp7lfi.apps.googleusercontent.com'; and so I think I've successfully done that on google console (although I feel like that's wrong because we're trying to get to AWS, so do I need to work with a different configuration here? Please correct me if I am wrong). Also a heads up, I am currently using the "RegisterForm" medplum/react component which requires that site reCaptcha key. I think I'm running into a lot of problems with the recaptcha site key. I registered it on google reCAPTCHA but every time I try registering a user I get an error that says
Copy code
grecaptcha is not defined
If anyone has had experience dealing with medplum auth please let me know and I appreciate all the help
s
@zainaltaf Let' connect
a
Disclaimer: I am definitely not an expert, but here is something to try. Login to your app.yourdomain.com as superadmin. Go to Superadmin > Projects > Select your project. Choose Edit. Put in your Recaptcha Site Key Recaptcha Secret Key Good luck!
z
Appreciate the advice regardless! I'll give that a try
190 Views