Skip to content

Commit

Permalink
Remove auth for now
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeGinnivan committed Jul 22, 2024
1 parent 4e35d00 commit 631f72b
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions infra/app/ddd.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -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'
// }
// }
// }

0 comments on commit 631f72b

Please sign in to comment.