Skip to content

Commit

Permalink
updated presets
Browse files Browse the repository at this point in the history
Signed-off-by: Vanessa Fotso <vfotso@mitre.org>
  • Loading branch information
vanessuniq committed Dec 17, 2024
1 parent 29dab0d commit a408ca2
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 229 deletions.
93 changes: 6 additions & 87 deletions config/presets/inferno_reference_server_preset.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,95 +9,14 @@
"value": "https://inferno.healthit.gov/reference-server/r4"
},
{
"name": "standalone_client_id",
"type": "text",
"value": "SAMPLE_PUBLIC_CLIENT_ID"
},
{
"name": "standalone_requested_scopes",
"type": "text",
"value": "launch/patient openid fhirUser offline_access patient/*.read"
},
{
"name": "use_pkce",
"type": "radio",
"title": "Proof Key for Code Exchange (PKCE)",
"options": {
"list_options": [
{
"label": "Enabled",
"value": "true"
},
{
"label": "Disabled",
"value": "false"
}
]
},
"value": "false"
},
{
"name": "pkce_code_challenge_method",
"type": "radio",
"optional": true,
"title": "PKCE Code Challenge Method",
"options": {
"list_options": [
{
"label": "S256",
"value": "S256"
},
{
"label": "plain",
"value": "plain"
}
]
},
"value": "S256"
},
{
"name": "client_auth_type",
"value": "public",
"_title": "Client Authentication Method",
"_type": "radio",
"_options": {
"list_options": [
{
"label": "Public",
"value": "public"
},
{
"label": "Confidential Symmetric",
"value": "confidential_symmetric"
},
{
"label": "Confidential Asymmetric",
"value": "confidential_asymmetric"
}
]
}
"name": "standalone_smart_auth_info",
"type": "auth_info",
"value": "{\"auth_type\":\"public\",\"use_discovery\":\"true\",\"requested_scopes\":\"launch/patient openid fhirUser offline_access patient/*.read\",\"client_id\":\"SAMPLE_PUBLIC_CLIENT_ID\",\"pkce_support\":\"disabled\",\"auth_request_method\":\"GET\"}"
},
{
"name": "standalone_client_secret",
"type": "text",
"optional": true,
"value": null
},
{
"name": "ehr_client_id",
"type": "text",
"value": "SAMPLE_PUBLIC_CLIENT_ID"
},
{
"name": "ehr_requested_scopes",
"type": "text",
"value": "launch openid fhirUser offline_access user/*.read"
},
{
"name": "ehr_client_secret",
"type": "text",
"optional": true,
"value": null
"name": "ehr_smart_auth_info",
"type": "auth_info",
"value": "{\"auth_type\":\"public\",\"use_discovery\":\"true\",\"requested_scopes\":\"launch openid fhirUser offline_access user/*.read\",\"client_id\":\"SAMPLE_PUBLIC_CLIENT_ID\",\"pkce_support\":\"disabled\",\"auth_request_method\":\"GET\"}"
}
]
}
80 changes: 9 additions & 71 deletions config/presets/inferno_reference_server_stu2_2_preset.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,81 +9,19 @@
"value": "https://inferno.healthit.gov/reference-server/r4"
},
{
"name": "standalone_client_id",
"type": "text",
"value": "SAMPLE_PUBLIC_CLIENT_ID"
},
{
"name": "standalone_requested_scopes",
"type": "text",
"value": "launch/patient openid fhirUser offline_access patient/*.read"
},
{
"name": "standalone_client_secret",
"type": "text",
"optional": true,
"value": null
"name": "standalone_smart_auth_info",
"type": "auth_info",
"value": "{\"auth_type\":\"public\",\"use_discovery\":\"true\",\"requested_scopes\":\"launch/patient openid fhirUser offline_access patient/*.rs\",\"client_id\":\"SAMPLE_PUBLIC_CLIENT_ID\",\"pkce_support\":\"enabled\",\"pkce_code_challenge_method\":\"S256\",\"auth_request_method\":\"GET\"}"
},
{
"name": "ehr_client_id",
"type": "text",
"value": "SAMPLE_PUBLIC_CLIENT_ID"
"name": "ehr_smart_auth_info",
"type": "auth_info",
"value": "{\"auth_type\":\"public\",\"use_discovery\":\"true\",\"requested_scopes\":\"launch openid fhirUser offline_access user/*.rs\",\"client_id\":\"SAMPLE_PUBLIC_CLIENT_ID\",\"pkce_support\":\"enabled\",\"pkce_code_challenge_method\":\"S256\",\"auth_request_method\":\"GET\"}"
},
{
"name": "ehr_requested_scopes",
"type": "text",
"value": "launch openid fhirUser offline_access user/*.read"
},
{
"name": "ehr_client_secret",
"type": "text",
"optional": true,
"value": null
},
{
"name": "client_auth_encryption_method",
"value": "ES384",
"_title": "Encryption Method (Confidential Asymmetric Client Auth Only)",
"_type": "radio",
"_options": {
"list_options": [
{
"label": "ES384",
"value": "ES384"
},
{
"label": "RS384",
"value": "RS384"
}
]
}
},
{
"name": "client_auth_type",
"value": "public",
"_title": "Client Authentication Method",
"_type": "radio",
"_options": {
"list_options": [
{
"label": "Public",
"value": "public"
},
{
"label": "Confidential Symmetric",
"value": "confidential_symmetric"
},
{
"label": "Confidential Asymmetric",
"value": "confidential_asymmetric"
}
]
}
},
{
"name": "backend_services_client_id",
"type": "text",
"value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InJlZ2lzdHJhdGlvbi10b2tlbiJ9.eyJqd2tzX3VybCI6Imh0dHA6Ly8xMC4xNS4yNTIuNzMvaW5mZXJuby8ud2VsbC1rbm93bi9qd2tzLmpzb24iLCJhY2Nlc3NUb2tlbnNFeHBpcmVJbiI6MTUsImlhdCI6MTU5NzQxMzE5NX0.q4v4Msc74kN506KTZ0q_minyapJw0gwlT6M_uiL73S4"
"name": "backend_services_smart_auth_info",
"type": "auth_info",
"value": "{\"auth_type\":\"backend_services\",\"use_discovery\":\"true\",\"requested_scopes\":\"system/*.read\",\"client_id\":\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InJlZ2lzdHJhdGlvbi10b2tlbiJ9.eyJqd2tzX3VybCI6Imh0dHA6Ly8xMC4xNS4yNTIuNzMvaW5mZXJuby8ud2VsbC1rbm93bi9qd2tzLmpzb24iLCJhY2Nlc3NUb2tlbnNFeHBpcmVJbiI6MTUsImlhdCI6MTU5NzQxMzE5NX0.q4v4Msc74kN506KTZ0q_minyapJw0gwlT6M_uiL73S4\",\"encryption_algorithm\":\"ES384\"}"
}
]
}
80 changes: 9 additions & 71 deletions config/presets/inferno_reference_server_stu2_preset.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,81 +9,19 @@
"value": "https://inferno.healthit.gov/reference-server/r4"
},
{
"name": "standalone_client_id",
"type": "text",
"value": "SAMPLE_PUBLIC_CLIENT_ID"
},
{
"name": "standalone_requested_scopes",
"type": "text",
"value": "launch/patient openid fhirUser offline_access patient/*.read"
},
{
"name": "standalone_client_secret",
"type": "text",
"optional": true,
"value": null
"name": "standalone_smart_auth_info",
"type": "auth_info",
"value": "{\"auth_type\":\"public\",\"use_discovery\":\"true\",\"requested_scopes\":\"launch/patient openid fhirUser offline_access patient/*.rs\",\"client_id\":\"SAMPLE_PUBLIC_CLIENT_ID\",\"pkce_support\":\"enabled\",\"pkce_code_challenge_method\":\"S256\",\"auth_request_method\":\"GET\"}"
},
{
"name": "ehr_client_id",
"type": "text",
"value": "SAMPLE_PUBLIC_CLIENT_ID"
"name": "ehr_smart_auth_info",
"type": "auth_info",
"value": "{\"auth_type\":\"public\",\"use_discovery\":\"true\",\"requested_scopes\":\"launch openid fhirUser offline_access user/*.rs\",\"client_id\":\"SAMPLE_PUBLIC_CLIENT_ID\",\"pkce_support\":\"enabled\",\"pkce_code_challenge_method\":\"S256\",\"auth_request_method\":\"GET\"}"
},
{
"name": "ehr_requested_scopes",
"type": "text",
"value": "launch openid fhirUser offline_access user/*.read"
},
{
"name": "ehr_client_secret",
"type": "text",
"optional": true,
"value": null
},
{
"name": "client_auth_encryption_method",
"value": "ES384",
"_title": "Encryption Method (Confidential Asymmetric Client Auth Only)",
"_type": "radio",
"_options": {
"list_options": [
{
"label": "ES384",
"value": "ES384"
},
{
"label": "RS384",
"value": "RS384"
}
]
}
},
{
"name": "client_auth_type",
"value": "public",
"_title": "Client Authentication Method",
"_type": "radio",
"_options": {
"list_options": [
{
"label": "Public",
"value": "public"
},
{
"label": "Confidential Symmetric",
"value": "confidential_symmetric"
},
{
"label": "Confidential Asymmetric",
"value": "confidential_asymmetric"
}
]
}
},
{
"name": "backend_services_client_id",
"type": "text",
"value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InJlZ2lzdHJhdGlvbi10b2tlbiJ9.eyJqd2tzX3VybCI6Imh0dHA6Ly8xMC4xNS4yNTIuNzMvaW5mZXJuby8ud2VsbC1rbm93bi9qd2tzLmpzb24iLCJhY2Nlc3NUb2tlbnNFeHBpcmVJbiI6MTUsImlhdCI6MTU5NzQxMzE5NX0.q4v4Msc74kN506KTZ0q_minyapJw0gwlT6M_uiL73S4"
"name": "backend_services_smart_auth_info",
"type": "auth_info",
"value": "{\"auth_type\":\"backend_services\",\"use_discovery\":\"true\",\"requested_scopes\":\"system/*.read\",\"client_id\":\"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InJlZ2lzdHJhdGlvbi10b2tlbiJ9.eyJqd2tzX3VybCI6Imh0dHA6Ly8xMC4xNS4yNTIuNzMvaW5mZXJuby8ud2VsbC1rbm93bi9qd2tzLmpzb24iLCJhY2Nlc3NUb2tlbnNFeHBpcmVJbiI6MTUsImlhdCI6MTU5NzQxMzE5NX0.q4v4Msc74kN506KTZ0q_minyapJw0gwlT6M_uiL73S4\",\"encryption_algorithm\":\"ES384\"}"
}
]
}

0 comments on commit a408ca2

Please # to comment.