Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Sutter Health source failing #290

Closed
dqhoang opened this issue Oct 26, 2023 · 3 comments
Closed

Sutter Health source failing #290

dqhoang opened this issue Oct 26, 2023 · 3 comments

Comments

@dqhoang
Copy link

dqhoang commented Oct 26, 2023

Using v0.1.8 Docker on-prem
image

POST to https://{hostname}/api/secure/source Failed
Request:
{ "source_type": "sutter-health", "authorization_endpoint": "https://apiservices.sutterhealth.org/ifs/oauth2/authorize", "token_endpoint": "https://apiservices.sutterhealth.org/ifs/oauth2/token", "introspection_endpoint": "https://fhir.epic.com/interconnect-fhir-oauth/oauth2/introspect", "userinfo_endpoint": "", "registration_endpoint": "https://apiservices.sutterhealth.org/ifs/oauth2/register", "api_endpoint_base_url": "https://apiservices.sutterhealth.org/ifs/api/FHIR/R4", "client_id": "REDACTED", "redirect_uri": "https://lighthouse.fastenhealth.com/v1/callback/epic", "scopes_supported": [ "fhirUser", "openid", "profile" ], "issuer": "https://fhir.epic.com", "grant_types_supported": [ "authorization_code" ], "response_types_supported": [ "code" ], "aud": "https://apiservices.sutterhealth.org/ifs/api/FHIR/R4", "code_challenge_methods_supported": [ "S256" ], "confidential": false, "cors_relay_required": false, "patient": "REDACTED", "access_token": "REDACTED", "id_token": "REDACTED", "dynamic_client_registration_mode": "user-authenticated", "expires_at": 1698344289 }

Response:
{"success":false}

Docker logs:
2023/10/26 17:18:09 Error Response body: { time="2023-10-26T17:18:08Z" level=warning msg="This client requires a dynamice client registration, starting registration process" type=web "error": "invalid_request", "error_description": null } time="2023-10-26T17:18:09Z" level=error msg="An error occurred while retrieving access token for dynamic client an error occurred while reading dynamic client token response, status code was not 200: 400" type=web

@AnalogJ
Copy link
Member

AnalogJ commented Oct 26, 2023

hey @dqhoang I have a couple of questions:

  • Did you see this message after successfully authenticating on your patient portal and being redirected back to Fasten?
  • are you on Discord? I'd love to do a live-debugging session with you if possible.

@dqhoang
Copy link
Author

dqhoang commented Oct 26, 2023

Hi @AnalogJ,

Yes this is after successful authentication with Sutter.

Yes, but i won't be able to jump on my personal machine till this evening (pacific time)

@AnalogJ
Copy link
Member

AnalogJ commented Oct 30, 2023

Hey @dqhoang apologies I missed this message.
Just ping me on Discord when you have some time, I'll jump and we can figure out whats going on here

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants