Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Running tutorial from localhost #13

Open
sdurandeu opened this issue Dec 15, 2021 · 0 comments
Open

Running tutorial from localhost #13

sdurandeu opened this issue Dec 15, 2021 · 0 comments

Comments

@sdurandeu
Copy link

I was trying to run this from localhost using serve. However, when launching the app from the https://code.cerner.com portal I got this TypeError: Cannot read property 'substr' of undefined error. I wonder if it has to do with some kind of restriction about running apps on localhost/without HTTPS? I haven't found anything in the code that prevents using localhost, so it's maybe the OAuth2 server?

Screenshot 2021-12-14 at 15 56 16

The underlying error is explained here, but I doubt upgrading the library will fix anything: smart-on-fhir/client-js#22

Any thoughts?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant