-
Notifications
You must be signed in to change notification settings - Fork 4
/
appsettings.json
190 lines (182 loc) · 6.73 KB
/
appsettings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"UdapMetadataOptions": {
"UdapVersionsSupported": [ "1" ],
"UdapProfilesSupported": [ "udap_dcr", "udap_authn", "udap_authz", "udap_to" ],
"UdapAuthorizationExtensionsSupported": [ "hl7-b2b" ],
"UdapAuthorizationExtensionsRequired": [ "hl7-b2b" ],
"ScopesSupported": [ "openid", "system/*.read", "user/*.read", "patient/*.read" ],
"UdapCertificationsSupported": [ "http://MyUdapCertification", "http://MyUdapCertification2" ],
"UdapCertificationsRequired": [ "http://MyUdapCertification" ],
"GrantTypesSupported": [ "authorization_code", "refresh_token", "client_credentials" ],
"UdapMetadataConfigs": [
{
"Community": "udap://fhirlabs.net",
"SignedMetadataConfig": {
"Issuer": "https://fhirlabs.net/fhir/r4",
"Subject": "https://fhirlabs.net/fhir/r4",
"AuthorizationEndPoint": "https://securedcontrols.net:5001/connect/authorize",
"TokenEndpoint": "https://securedcontrols.net:5001/connect/token",
"RegistrationEndpoint": "https://securedcontrols.net:5001/connect/register"
}
},
{
"Community": "udap://expired.fhirlabs.net/",
"SignedMetadataConfig": {
"Issuer": "https://fhirlabs.net/fhir/r4",
"Subject": "https://fhirlabs.net/fhir/r4",
"AuthorizationEndPoint": "https://securedcontrols.net/connect/authorize",
"TokenEndpoint": "https://securedcontrols.net/connect/token",
"RegistrationEndpoint": "https://securedcontrols.net/connect/register"
}
},
{
"Community": "udap://untrusted.fhirlabs.net/",
"SignedMetadataConfig": {
"Issuer": "https://fhirlabs.net/fhir/r4",
"Subject": "https://fhirlabs.net/fhir/r4",
"AuthorizationEndPoint": "https://securedcontrols.net/connect/authorize",
"TokenEndpoint": "https://securedcontrols.net/connect/token",
"RegistrationEndpoint": "https://securedcontrols.net/connect/register"
}
},
{
"Community": "udap://Iss.Mismatch.To.SubjAltName/",
"SignedMetadataConfig": {
"Issuer": "https://fhirlabs.net/fhir/r4",
"Subject": "https://fhirlabs.net/fhir/r4",
"AuthorizationEndPoint": "https://securedcontrols.net/connect/authorize",
"TokenEndpoint": "https://securedcontrols.net/connect/token",
"RegistrationEndpoint": "https://securedcontrols.net/connect/register"
}
},
{
"Community": "udap://Iss.Mismatch.To.BaseUrl/",
"SignedMetadataConfig": {
"Issuer": "http://fhirlabs.net/IssMismatchToBaseUrl/r4",
"Subject": "http://fhirlabs.net/IssMismatchToBaseUrl/r4",
"AuthorizationEndPoint": "https://securedcontrols.net/connect/authorize",
"TokenEndpoint": "https://securedcontrols.net/connect/token",
"RegistrationEndpoint": "https://securedcontrols.net/connect/register"
}
},
{
"Community": "udap://ECDSA/",
"SignedMetadataConfig": {
"RegistrationSigningAlgorithms": [ "ES256", "ES384" ],
"TokenSigningAlgorithms": [ "ES256", "ES384" ],
"Issuer": "https://fhirlabs.net/fhir/r4",
"Subject": "https://fhirlabs.net/fhir/r4",
"AuthorizationEndPoint": "https://securedcontrols.net/connect/authorize",
"TokenEndpoint": "https://securedcontrols.net/connect/token",
"RegistrationEndpoint": "https://securedcontrols.net/connect/register"
}
}
]
},
"UdapFileCertStoreManifest": {
"Communities": [
{
"Name": "udap://fhirlabs.net",
"Anchors": [
{
"FilePath": "CertStore/anchors/SureFhirLabs_CA.cer"
},
{
"FilePath": "CertStore/intermediates/SureFhirLabs_Intermediate.cer"
}
],
"IssuedCerts": [
{
"FilePath": "CertStore/issued/fhirlabs.net.client.pfx",
"Password": "udap-test"
}
]
},
{
"Name": "udap://expired.fhirlabs.net/",
"IssuedCerts": [
{
"FilePath": "CertStore/issued/fhirlabs.net.expired.client.pfx",
"Password": "udap-test"
}
]
},
{
"Name": "udap://untrusted.fhirlabs.net/",
"IssuedCerts": [
{
"FilePath": "CertStore/issued/fhirlabs.net.untrusted.client.pfx",
"Password": "udap-test"
}
]
},
{
"Name": "udap://Iss.Mismatch.To.SubjAltName/",
"IssuedCerts": [
{
"FilePath": "CertStore/issued/fhirlabs.net.mismatchSan.client.pfx",
"Password": "udap-test"
}
]
},
{
"Name": "udap://Iss.Mismatch.To.BaseUrl/",
"IssuedCerts": [
{
"FilePath": "CertStore/issued/fhirlabs.net.mismatchBaseUrl.client.pfx",
"Password": "udap-test"
}
]
},
{
"Name": "udap://ECDSA/",
"IssuedCerts": [
{
"FilePath": "CertStore/issued/fhirlabs.net.ecdsa.client.pfx",
"Password": "udap-test"
}
]
}
]
},
"SmartMetadata": {
"issuer": "https://host.docker.internal:5002",
"jwks_uri": "https://host.docker.internal:5002/.well-known/openid-configuration/jwks",
"authorization_endpoint": "https://host.docker.internal:5002/connect/authorize",
"token_endpoint": "https://host.docker.internal:5002/connect/token",
"token_endpoint_auth_methods_supported": [
"udap_pki_jwt", // inform Smart there is a support for UDAP
"client_secret_basic",
"private_key_jwt"
],
"grant_types_supported": [
"authorization_code",
"client_credentials",
"refresh_token"
],
// Should be required when token_endpoint_auth_methods_supported contains udap_pki_jwt
"registration_endpoint": "https://host.docker.internal:5002/connect/register",
"scopes_supported": [ "openid", "profile", "launch", "launch/patient", "patient/*.rs", "user/*.rs", "offline_access" ],
"response_types_supported": [ "code" ],
"management_endpoint": "https://localhost:7074/user/manage", //todo in auth server or EHR?
"introspection_endpoint": "https://host.docker.internal:5002/connect/introspect",
"revocation_endpoint": "https://host.docker.internal:5002/connect/revoke",
"code_challenge_methods_supported": [ "S256" ],
"capabilities": [
"launch-ehr",
"permission-patient",
"permission-v2",
"client-public",
"client-confidential-symmetric",
"context-ehr-patient",
"sso-openid-connect"
]
}
}