Skip to content

Commit

Permalink
fixing onemedical (not confidential), requires removal of trailing / …
Browse files Browse the repository at this point in the history
…in aud.
  • Loading branch information
AnalogJ committed Jun 17, 2024
1 parent da7aabc commit 6bf5800
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions definitions/models/lighthouse_endpoint_definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@ func (def *LighthouseSourceDefinition) Populate(
def.PlatformType == pkg.PlatformTypeQualifactsCredible ||
def.PlatformType == pkg.PlatformTypeQualifactsCareLogic ||
def.PlatformType == pkg.PlatformTypeNHS ||
def.PlatformType == pkg.PlatformTypeFlatiron {
//remove trailing slash for audience for CareEvolution & Anthem
def.PlatformType == pkg.PlatformTypeFlatiron ||
def.PlatformType == pkg.PlatformTypeOneMedical {
//remove trailing slash for audience
def.Audience = strings.TrimSuffix(def.Audience, "/")
}

Expand Down
4 changes: 2 additions & 2 deletions definitions/platform/onemedical.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# MANUALLY POPULATED
platform_type: medhost
platform_type: onemedical


# https://api.stage.1life.com/fhir/4.0/.well-known/smart-configuration
Expand All @@ -20,7 +20,7 @@ response_modes_supported:
- fragment
code_challenge_methods_supported:
- S256
confidential: true
confidential: false
cors_relay_required: false
documentation: |
https://apidocs.onemedical.io/fhir/authentication/
Expand Down

0 comments on commit 6bf5800

Please sign in to comment.