Skip to content

Commit

Permalink
Merge branch 'master' into bb2-3579
Browse files Browse the repository at this point in the history
  • Loading branch information
sb-benohe authored Dec 13, 2024
2 parents d700046 + 4300f92 commit d42a42b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions apps/wellknown/views/openid.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
CODE_CHALLENGE_METHODS_SUPPORTED = ["S256"]
CAPABILITIES = [
"client-confidential-symmetric",
"sso-openid-connect",
"launch-standalone",
"permission-offline",
"permission-patient",
Expand Down Expand Up @@ -117,13 +116,13 @@ def build_smart_config_endpoint(data=OrderedDict(), issuer=""):
"""

data = build_endpoint_info(data, issuer=issuer)
del (data["issuer"])
del (data["userinfo_endpoint"])
del (data["ui_locales_supported"])
del (data["service_documentation"])
del (data["op_tos_uri"])
del (data["fhir_metadata_uri"])
data["grant_types_supported"].remove("refresh_token")

data["scopes_supported"] = SCOPES_SUPPORTED
data["code_challenge_methods_supported"] = CODE_CHALLENGE_METHODS_SUPPORTED
data["capabilities"] = CAPABILITIES
Expand Down
4 changes: 2 additions & 2 deletions hhs_oauth_server/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
urlpatterns = [
path("health", include("apps.health.urls")),
re_path(r"^.well-known/", include("apps.wellknown.urls")),
path("v1/fhir/.wellknown/smart-configuration", smart_configuration, name="smart_configuration"),
path("v1/fhir/.well-known/smart-configuration", smart_configuration, name="smart_configuration"),
path("forms/", include("apps.forms.urls")),
path("v1/accounts/", include("apps.accounts.urls")),
re_path(
Expand All @@ -34,7 +34,7 @@
openidconnect_userinfo,
name="openid_connect_userinfo_v2",
),
path("v2/fhir/.wellknown/smart-configuration", smart_configuration, name="smart_configuration"),
path("v2/fhir/.well-known/smart-configuration", smart_configuration, name="smart_configuration"),
path("v2/fhir/metadata", fhir_conformance_v2, name="fhir_conformance_metadata_v2"),
path("v2/fhir/", include("apps.fhir.bluebutton.v2.urls")),
path("v2/o/", include("apps.dot_ext.v2.urls")),
Expand Down

0 comments on commit d42a42b

Please sign in to comment.