Is it possible to do the same using the secure url as specified below with authorization?
--
You received this message because you are subscribed to the Google Groups "Cerner FHIR Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cerner-fhir-developers+unsub...@googlegroups.com.
To post to this group, send email to cerner-fhir-developers@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cerner-fhir-developers/ad9a9579-add9-4d6c-8772-1cac819f3707%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
SMART Launch URI: http://localhost:8080/CernerDstu2/launch.html
Redirect URI: http://localhost:8080/CernerDstu2/index.html
But I am making the webservice REST GET calls from a java client and don't need those urls if know what I mean.
My application is a Java client making those restful webservice calls.
So for example to get the authorization code, I am making the two webservice calls.
a) Get authorize url using metadata
url = new URL ("https://fhir-ehr.sandboxcerner.com/dstu2/d075cf8b-3261-481d-97e5-ba6c48d3b41f/metadata");
b) Use authorize url from above and get authorization code
"response_type=code&" +
"client_id=5c3039a6-90a1-40b0-9171-74d2a354b163&" +
"launch=http://localhost:8080/CernerDstu2/launch.html&" +
"aud=https://fhir-myrecord.sandboxcerner.com/dstu2/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/&" +
"scope=launch/patient,patient/Patient.read&" +
"redirect_uri=http://localhost:8080/CernerDstu2/index.html"
To post to this group, send email to cerner-fhir...@googlegroups.com.
Your account has been temporarily locked due to multiple failed login attempts. Please contact a device administrator for further assistance.
Error code: 5
Username: portal
Password: portal
Conformance metadata url: https://fhir-ehr.sandboxcerner.com/dstu2/d075cf8b-3261-481d-97e5-ba6c48d3b41f/metadata
Authorizatoin url is retrieved based on conformance metadata authorize url.