FHIR Chat · test.fhir.org · smart

Stream: smart

Topic: test.fhir.org


view this post on Zulip Grahame Grieve (Sep 23 2017 at 06:51):

well, test.fhir.org now supports the Smart on FHIR Backend service spec. You can register your own clients too, now.

  • you must login through the web interface (http://test.fhir.org/r3)
  • then you can either register a client through the web interface, or get a bearer token, and register the application through the dynamic registration end point (see either the CapabilityStatement or the .well-known) using the pattern Josh described above
  • then you can connect to http://test.fhir.org and follow the backend services login sequence.

report bugs here - I'm sure there'll be plenty. Soon, I will release a FHIR ToolKit as a test client too

view this post on Zulip Dylan Mahalingam (Sep 26 2017 at 18:18):

Hello,

I am trying to log into this service to use an OAuth2-protected SMART-on-FHIR App with test.fhir.org and I have some questions about how to get this working.

When I reach https://test.fhir.org/r3 and click on the "Login using OAuth" option, I am brought to a page with the message:
Unacceptable Redirect url "https://test.fhir.org/r3/internal"

I noticed that the unsecured API mentioned using a bearer token provided at a link to get access to the secure API without OAuth login, but when I clicked on this link, the session token I am provided is:
Authorization: bearer JWT not available

I also noticed that I get an authorization error when trying to register a client using the link in the unsecured API. Am I unable to access the bearer JWT or register a client because I have not successfully logged in with OAuth? If this is the case, is there a way for me to get around the issue I am having above with the "Login using OAuth" link?

Thank you,

-Dylan M

view this post on Zulip Josh Mandel (Sep 26 2017 at 19:23):

This is a question about @Grahame Grieve's implementation (tagging here to trigger a notification to Grahame).

view this post on Zulip Grahame Grieve (Sep 26 2017 at 21:48):

oh. I forgot to do something when setting up the install. taking it down for maintenance now

view this post on Zulip Grahame Grieve (Sep 26 2017 at 23:20):

k sorteed

view this post on Zulip Dylan Mahalingam (Sep 27 2017 at 12:09):

Thank you @Grahame Grieve for the help. I was able to log in correctly and register a client.

I had an additional question about launching my SMART-on-FHIR app. I now have registered a Public OAuth2 client and provided a redirect URI. I was provided with a client ID after registering this. Now, I am trying to find the correct place to provide a launch URL and launch my SMART-on-FHIR app and connect with the client I have registered. Is there a place on test.fhir.org that would allow me to do so?

Thank you again.

view this post on Zulip Grahame Grieve (Sep 27 2017 at 13:18):

actually no, test.fhir.org doesn't have anyway to initiate the EHR Launch sequence, only the standalone launch sequence.

view this post on Zulip Grahame Grieve (Sep 27 2017 at 13:19):

but it's not to hard to create your own HTML page that initiates the launch sequence against test.fhir.org - that's why I haven't got around to doing that

view this post on Zulip Dylan Mahalingam (Sep 27 2017 at 13:26):

Okay, thank you very much for the information and for your help.


Last updated: Apr 12 2022 at 19:14 UTC