Issue with external auth with my hosted medplum se...
# support
s
Hi team, When I am trying to use auth/external for the deployed instance of the Medplum server, it's not working and throws the error stating that it failed to verify the code. How can I resolve this issue? @reshma @rahul1 @medplummatt t. It's working with "api.medplum.com/auth/external" I am not using medplum react components. I have deployed medplum server, api for inviting users , app on azure. I'm using aws cognito service as external auth provider in which I am using lamda function for signup with firstname, lastname, email. Everything is working with managed medplum server but not with my hosted server instance.
r
got it. Would it be possible to set up this sample application with your environment to isolate the issue? https://github.com/medplum/medplum-client-external-idp-demo
r
@sandydasari usually a failure to verify code indicates a PKCE error
Can you try to set
pkceEnabled
to
false
when initiating the login?
s
In my deployed medplum server config, I have wrongly placed the baseurl as localhost:8103 not the deployed url. Now the issue is resolved. Thanks!
174 Views