when i am sigining in with uer email and password and sending request to cognito and i am getting access token id token etc and also when iam passing the access token to this medplum method MedplumClient.exchangeExternalAccessToken() const medplum = new MedplumClient({
baseUrl: MEDPLUM_BASE_URL,
clientId: MEDPLUM_CLIENT_ID,
});
// Exchange external token
await medplum.exchangeExternalAccessToken(EXTERNAL_ACCESS_TOKEN);
getting this error {
"error": "invalid_request",
"error_description": "Failed to verify code - check your identity provider configuration"
} what could be solution of this ?