Charlie from Imagine
10/04/2023, 8:52 PMmedplumClient.setAccessToken then using the async getProfile call, but unfortunately it returns undefined. Am I missing something, or is there a different method I should be using for server-side interactions?medplummatt
10/04/2023, 10:20 PMMedplumClient and found that manually setting the access token clears any stored profile. The async call wasn't set up to update the profile if it wasn't cached in the client after a full login. I put up a small PR to update client.getProfileAsync() so it will go fetch the profile for you: https://github.com/medplum/medplum/pull/2978Charlie from Imagine
10/05/2023, 1:48 AMreshma
10/09/2023, 9:04 PM