Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading