Skip to content

Commit

Permalink
Updated SMART identity provider configurations to remove 'additionalP…
Browse files Browse the repository at this point in the history
…roperties'
  • Loading branch information
Nate Malubay committed Dec 4, 2023
1 parent 3ed0a6c commit f161c01
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,20 @@
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audience": "https://azurehealthcareapis.com",
"smartProxyEnabled": true,
"smartIdentityProviders": {
"https://login.b2clogin.com/11111111-1111-1111-1111-111111111111/v2.0": {
"22222222-2222-2222-2222-222222222222": {
"allowedDataActions": [
"Read"
],
"audience": "22222222-2222-2222-2222-222222222222"
}
"smartIdentityProviders": [
{
"authority": "https://login.b2clogin.com/11111111-1111-1111-1111-111111111111/v2.0",
"applications": [
{
"clientId": "22222222-2222-2222-2222-222222222222",
"audience": "22222222-2222-2222-2222-222222222222",
"allowedDataActions": [
"Read"
]
}
]
}
}
]
},
"corsConfiguration": {
"origins": [
Expand Down Expand Up @@ -96,16 +100,20 @@
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audience": "https://azurehealthcareapis.com",
"smartProxyEnabled": true,
"smartIdentityProviders": {
"https://login.b2clogin.com/11111111-1111-1111-1111-111111111111/v2.0": {
"22222222-2222-2222-2222-222222222222": {
"allowedDataActions": [
"Read"
],
"audience": "22222222-2222-2222-2222-222222222222"
}
"smartIdentityProviders": [
{
"authority": "https://login.b2clogin.com/11111111-1111-1111-1111-111111111111/v2.0",
"applications": [
{
"clientId": "22222222-2222-2222-2222-222222222222",
"audience": "22222222-2222-2222-2222-222222222222",
"allowedDataActions": [
"Read"
]
}
]
}
}
]
},
"corsConfiguration": {
"origins": [
Expand Down Expand Up @@ -170,16 +178,20 @@
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audience": "https://azurehealthcareapis.com",
"smartProxyEnabled": true,
"smartIdentityProviders": {
"https://login.b2clogin.com/11111111-1111-1111-1111-111111111111/v2.0": {
"22222222-2222-2222-2222-222222222222": {
"allowedDataActions": [
"Read"
],
"audience": "22222222-2222-2222-2222-222222222222"
}
"smartIdentityProviders": [
{
"authority": "https://login.b2clogin.com/11111111-1111-1111-1111-111111111111/v2.0",
"applications": [
{
"clientId": "22222222-2222-2222-2222-222222222222",
"audience": "22222222-2222-2222-2222-222222222222",
"allowedDataActions": [
"Read"
]
}
]
}
}
]
},
"corsConfiguration": {
"origins": [
Expand Down Expand Up @@ -238,16 +250,20 @@
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audience": "https://azurehealthcareapis.com",
"smartProxyEnabled": true,
"smartIdentityProviders": {
"https://login.b2clogin.com/11111111-1111-1111-1111-111111111111/v2.0": {
"22222222-2222-2222-2222-222222222222": {
"allowedDataActions": [
"Read"
],
"audience": "22222222-2222-2222-2222-222222222222"
}
"smartIdentityProviders": [
{
"authority": "https://login.b2clogin.com/11111111-1111-1111-1111-111111111111/v2.0",
"applications": [
{
"clientId": "22222222-2222-2222-2222-222222222222",
"audience": "22222222-2222-2222-2222-222222222222",
"allowedDataActions": [
"Read"
]
}
]
}
}
]
},
"corsConfiguration": {
"origins": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,20 @@
"authority": "https://login.microsoftonline.com/abfde7b2-df0f-47e6-aabf-2462b07508dc",
"audience": "https://azurehealthcareapis.com",
"smartProxyEnabled": true,
"smartIdentityProviders": {
"https://login.b2clogin.com/11111111-1111-1111-1111-111111111111/v2.0": {
"22222222-2222-2222-2222-222222222222": {
"allowedDataActions": [
"Read"
],
"audience": "22222222-2222-2222-2222-222222222222"
}
"smartIdentityProviders": [
{
"authority": "https://login.b2clogin.com/11111111-1111-1111-1111-111111111111/v2.0",
"applications": [
{
"clientId": "22222222-2222-2222-2222-222222222222",
"audience": "22222222-2222-2222-2222-222222222222",
"allowedDataActions": [
"Read"
]
}
]
}
}
]
},
"corsConfiguration": {
"origins": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3905,39 +3905,51 @@
"readOnly": false
},
"smartIdentityProviders": {
"$ref": "#/definitions/SmartIdentityProviders"
"type": "array",
"description": "The array of identity provider configurations for SMART on FHIR authentication.",
"readOnly": false,
"items": {
"$ref": "#/definitions/SmartIdentityProviderConfiguration"
}
}
}
},
"SmartIdentityProviders": {
"title": "SMART Identity Providers",
"description": "The set of identity provider configurations for SMART on FHIR authentication. The SmartIdentityProviders dictionary keys will be the identity provider authority.",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/SmartIdentityProviderApplications"
}
},
"SmartIdentityProviderApplications": {
"description": "A set of applications configured in the identity provider used for SMART on FHIR authentication. The SmartIdentityProviders dictionary keys will be the application (client) id of the application.",
"SmartIdentityProviderConfiguration": {
"description": "An object to configure an identity provider for use with SMART on FHIR authentication.",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/SmartIdentityProviderApplication"
"properties": {
"authority": {
"description": "The identity provider token authority also known as the token issuing authority.",
"type": "string"
},
"applications": {
"type": "array",
"description": "The array of identity provider applications for SMART on FHIR authentication.",
"readOnly": false,
"items": {
"$ref": "#/definitions/SmartIdentityProviderApplication"
}
}
}
},
"SmartIdentityProviderApplication": {
"description": "An Application configured in the Identity Provider used to access FHIR resources.",
"type": "object",
"properties": {
"clientId": {
"description": "The application client id defined in the identity provider. This value will be used to validate bearer tokens against the given authority.",
"type": "string"
},
"audience": {
"description": "The audience that will be used to validate bearer tokens against the given authority.",
"type": "string"
},
"allowedDataActions": {
"description": "The actions that are permitted to be performed on FHIR resources for the application.",
"type": "array",
"items": {
"$ref": "#/definitions/SmartDataActions"
}
},
"audience": {
"description": "The audience that will be used to validate bearer tokens against the given authority.",
"type": "string"
}
}
},
Expand Down

0 comments on commit f161c01

Please sign in to comment.