You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am probably missing something in the documentation; however, I'm having a lot of trouble figuring out how to log in as a patient and get the logged in patient's info. I've logged in via the browser popup and call authorize each time; however, there is no patient object for the patient id that I logged in with. How do I access that? This app cannot present a list of other patients and I need to only access the info of the user logging in.
The text was updated successfully, but these errors were encountered:
It looks like the patient is present on first login with smart.authProperties.granularity = .launchContext
Maybe .tokenOnly was doing the same thing and I missed it. I will store this patient id and use that for queries.
Another issue is I can't get the auth login to popup again and thought it would be triggered by using reset() on the client... There doesn't seem to be a logout.
I am probably missing something in the documentation; however, I'm having a lot of trouble figuring out how to log in as a patient and get the logged in patient's info. I've logged in via the browser popup and call authorize each time; however, there is no patient object for the patient id that I logged in with. How do I access that? This app cannot present a list of other patients and I need to only access the info of the user logging in.
The text was updated successfully, but these errors were encountered: