Skip to content

Commit d800852

Browse files
committed
removing unnecessary fields
1 parent 84e7332 commit d800852

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

apps/wellknown/views/openid.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
CODE_CHALLENGE_METHODS_SUPPORTED = ["S256"]
1414
CAPABILITIES = [
1515
"client-confidential-symmetric",
16-
"sso-openid-connect",
1716
"launch-standalone",
1817
"permission-offline",
1918
"permission-patient",
@@ -117,15 +116,14 @@ def build_smart_config_endpoint(data=OrderedDict(), issuer=""):
117116
"""
118117

119118
data = build_endpoint_info(data, issuer=issuer)
119+
del (data["issuer"])
120120
del (data["userinfo_endpoint"])
121121
del (data["ui_locales_supported"])
122122
del (data["service_documentation"])
123123
del (data["op_tos_uri"])
124124
del (data["fhir_metadata_uri"])
125125
data["grant_types_supported"].remove("refresh_token")
126-
127126
data["scopes_supported"] = SCOPES_SUPPORTED
128127
data["code_challenge_methods_supported"] = CODE_CHALLENGE_METHODS_SUPPORTED
129128
data["capabilities"] = CAPABILITIES
130-
131129
return data

0 commit comments

Comments
 (0)