diff --git a/infra/app/ddd.bicep b/infra/app/ddd.bicep index e9b7005..4618019 100644 --- a/infra/app/ddd.bicep +++ b/infra/app/ddd.bicep @@ -111,26 +111,26 @@ output name string = app.name output uri string = 'https://${app.properties.configuration.ingress.fqdn}' output id string = app.id -resource authConfig 'Microsoft.App/containerApps/authConfigs@2023-11-02-preview' = if (environment == 'dev') { - name: 'current' - parent: app - properties: { - globalValidation: { - unauthenticatedClientAction: 'RedirectToLoginPage' - } - identityProviders: { - azureActiveDirectory: { - enabled: true - registration: { - clientId: authClientId - clientSecretSettingName: 'clientSecret' - openIdIssuer: 'https://login.microsoftonline.com/${subscription().tenantId}/v2.0' - } - } - } - platform: { - enabled: true - runtimeVersion: 'v2' - } - } -} +// resource authConfig 'Microsoft.App/containerApps/authConfigs@2023-11-02-preview' = if (environment == 'dev') { +// name: 'current' +// parent: app +// properties: { +// globalValidation: { +// unauthenticatedClientAction: 'RedirectToLoginPage' +// } +// identityProviders: { +// azureActiveDirectory: { +// enabled: true +// registration: { +// clientId: authClientId +// clientSecretSettingName: 'clientSecret' +// openIdIssuer: 'https://login.microsoftonline.com/${subscription().tenantId}/v2.0' +// } +// } +// } +// platform: { +// enabled: true +// runtimeVersion: 'v2' +// } +// } +// }