FHIR Chat · fhirUser Request · inferno

Stream: inferno

Topic: fhirUser Request


view this post on Zulip Alexander Zautke (Oct 20 2020 at 16:50):

When running the test suite using https://inferno.healthit.gov/ I observe an unexpected request for the fhirUser.
For the following id_token content a request is made against "https://labs.vonk.fire.ly/r4/https:/labs.vonk.fire.ly/r4/Practitioner/test".
Could someone elaborate why the base url of the FHIR Server is prepended to the value in the token?

https://inferno.healthit.gov/inferno/lefjLBMvQH4

{
  "nbf": 1603211748,
  "exp": 1603212048,
  "iss": "https://vonk-identityserver.azurewebsites.net",
  "aud": "Inferno",
  "iat": 1603211748,
  "at_hash": "67RRjClEedEDbxbhESQgbQ",
  "s_hash": "wANWBs0gYlHN_MZKnqSUxQ",
  "sid": "79B0C0AAAAFD4874DF75517095AFB489",
  "sub": "1",
  "auth_time": 1603210499,
  "idp": "local",
  "patient": "test",
  "fhirUser": "https:/labs.vonk.fire.ly/r4/Practitioner/test",
  "amr": [
    "pwd"
  ]
}

view this post on Zulip Yunwei Wang (Oct 20 2020 at 17:55):

@Alexander Zautke I noticed the fhirUser value in the token is not a valid URL, it should be https://...

view this post on Zulip Alexander Zautke (Oct 20 2020 at 18:27):

Ohh!

view this post on Zulip Alexander Zautke (Oct 20 2020 at 18:27):

Thanks!

view this post on Zulip Alexander Zautke (Oct 20 2020 at 18:28):

Could have searched for that a long time :sweat_smile:


Last updated: Apr 12 2022 at 19:14 UTC