File tree Expand file tree Collapse file tree
application/CohortManager/src/Functions/Shared/Common/Extensions
infrastructure/tf-core/environments Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,10 @@ public static IHostBuilder AddAuthentication(this IHostBuilder hostBuilder)
2424 services . AddSingleton < IRoleManager , RoleManager > ( ) ;
2525 } ) ;
2626 }
27+ else
28+ {
29+ hostBuilder . ConfigureFunctionsWorkerDefaults ( ) ;
30+ }
2731 return hostBuilder ;
2832 }
2933}
Original file line number Diff line number Diff line change @@ -565,6 +565,7 @@ function_apps = {
565565 function_endpoint_name = " GetValidationExceptions"
566566 app_service_plan_key = " NonScaling"
567567 db_connection_string = " DtOsDatabaseConnectionString"
568+ key_vault_url = " KeyVaultConnectionString"
568569 app_urls = [
569570 {
570571 env_var_name = " DemographicDataServiceURL"
@@ -581,6 +582,7 @@ function_apps = {
581582 ]
582583 env_vars_static = {
583584 AcceptableLatencyThresholdMs = " 500"
585+ UserInfoUrl = " https://am.nhsint.auth-ptl.cis2.spineservices.nhs.uk/openam/oauth2/realms/root/realms/NHSIdentity/realms/Healthcare/userinfo"
584586 }
585587 }
586588
Original file line number Diff line number Diff line change @@ -564,6 +564,7 @@ function_apps = {
564564 function_endpoint_name = " GetValidationExceptions"
565565 app_service_plan_key = " NonScaling"
566566 db_connection_string = " DtOsDatabaseConnectionString"
567+ key_vault_url = " KeyVaultConnectionString"
567568 app_urls = [
568569 {
569570 env_var_name = " DemographicDataServiceURL"
@@ -580,6 +581,7 @@ function_apps = {
580581 ]
581582 env_vars_static = {
582583 AcceptableLatencyThresholdMs = " 500"
584+ UserInfoUrl = " https://am.nhsint.auth-ptl.cis2.spineservices.nhs.uk/openam/oauth2/realms/root/realms/NHSIdentity/realms/Healthcare/userinfo"
583585 }
584586 }
585587
Original file line number Diff line number Diff line change @@ -575,6 +575,7 @@ function_apps = {
575575 function_endpoint_name = " GetValidationExceptions"
576576 app_service_plan_key = " NonScaling"
577577 db_connection_string = " DtOsDatabaseConnectionString"
578+ key_vault_url = " KeyVaultConnectionString"
578579 app_urls = [
579580 {
580581 env_var_name = " DemographicDataServiceURL"
@@ -591,6 +592,7 @@ function_apps = {
591592 ]
592593 env_vars_static = {
593594 AcceptableLatencyThresholdMs = " 500"
595+ UserInfoUrl = " https://am.nhsint.auth-ptl.cis2.spineservices.nhs.uk/openam/oauth2/realms/root/realms/NHSIdentity/realms/Healthcare/userinfo"
594596 }
595597 }
596598
Original file line number Diff line number Diff line change @@ -596,6 +596,7 @@ function_apps = {
596596 function_endpoint_name = " GetValidationExceptions"
597597 app_service_plan_key = " NonScaling"
598598 db_connection_string = " DtOsDatabaseConnectionString"
599+ key_vault_url = " KeyVaultConnectionString"
599600 app_urls = [
600601 {
601602 env_var_name = " DemographicDataServiceURL"
@@ -612,6 +613,7 @@ function_apps = {
612613 ]
613614 env_vars_static = {
614615 AcceptableLatencyThresholdMs = " 500"
616+ UserInfoUrl = " https://am.nhsidentity.spineservices.nhs.uk/openam/oauth2/realms/root/realms/NHSIdentity/realms/Healthcare/userinfo"
615617 }
616618 }
617619
You can’t perform that action at this time.
0 commit comments