smart-dev-sandbox
smart-dev-sandbox copied to clipboard
SMART Implementation
Hi,
I have been playing around with the Dev-Sandbox and would like to confirm the following.
- Where is the SMART implementation?
- Is the Docker Image in this sandbox implementing an Interceptor as per the Hapi server documentation?
Sorry for creating an issue about this but I cannot get any SMART requests to work via Postman.
This is a package of several projects linked together. HAPI is used as FHIR server only. The SMART authentication layer is handled by what we call the sandbox. It is basically a NodeJS proxy server, intercepting requests to handle the authentication and then sending them upstream to the HAPI servers.
Perhaps if you share your Postman experiments I might be able to help more...
Hi,
Thank you for fixing this @vlad-ignatov
- I found a couple of other places where the
HOSTvariable must be added so this works everywhere:
For the Patient Browser to work, these files need to be updated:
- The
patient-browsersection of thedocker-compose.ymlfile (line ~59) smart-dev-sandbox/patient-browser/dstu2-local.tpl(line 4)smart-dev-sandbox/patient-browser/dstu3-local.tpl(line 4)
That is correct. I had do some additional changes to support the HOST variable. Please update.