Stream: smart
Topic: latest fhir-client.js has a bug
Yunwei Wang (Jul 20 2017 at 19:43):
I don't see a place on github to report bug so I will just put it here.
Yunwei Wang (Jul 20 2017 at 19:47):
When using the latest fhir-client.js (v 0.1.11) with unsecured client (client that doesn't do Oauth2), BBClient.ready() function failed at line 17167. The reason is that unsecured client doesn't have access_token. So the payloadCheck object is null and the code section at line 17167 payloadCheck['exp'] crashes the process.
Vladimir Ignatov (Jul 24 2017 at 19:50):
Hi, we have just enabled the issues on the repo so it would be nice if you can post it there (where more people might see it) - https://github.com/smart-on-fhir/client-js/issues.
Yunwei Wang (Jul 24 2017 at 19:52):
Thank you. I have raised this issue on github.
Vladimir Ignatov (Jul 24 2017 at 19:52):
Could you also mention a little bit more about uoyr environment and how are you using that "unsecured client". We can see where the error is happenning but we just want to be sure that we can reproduce it.
Last updated: Apr 12 2022 at 19:14 UTC