Skip to content

Instantly share code, notes, and snippets.

@daya
Last active October 2, 2018 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daya/42d5935ffe1dbf699ff6065af772a568 to your computer and use it in GitHub Desktop.
Save daya/42d5935ffe1dbf699ff6065af772a568 to your computer and use it in GitHub Desktop.
I, [2018-10-02T10:41:33.284153 #26755] INFO -- : Parsing response with {klass: FHIR::CapabilityStatement, format: application/json+fhir, code: 200}.
W, [2018-10-02T10:41:33.293169 #26755] WARN -- : Expected FHIR::CapabilityStatement but got FHIR::Conformance
{:authorize_url=>
"https://authorization.sandboxcerner.com/tenants/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/protocols/oauth2/profiles/smart-v1/personas/patient/authorize",
:token_url=>
"https://authorization.sandboxcerner.com/tenants/0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca/protocols/oauth2/profiles/smart-v1/token"}
I, [2018-10-02T10:41:33.293525 #26755] INFO -- : Configuring the client to use OpenID Connect OAuth2 authentication.
OAuth2::Error: invalid_client:
{"error":"invalid_client","error_uri":"https://authorization.sandboxcerner.com/errors/urn%3Acerner%3Aerror%3Aauthorization-server%3Aoauth2%3Atoken%3Ainvalid-authorization-header/instances/c6d8d822-3cc6-434f-9b25-fe00194b4814?client=unknown&tenant=0b8a0111-e8e6-4c26-a91c-5069cbc6b1ca"}
from (irb):29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment