Skip to content

Commit

Permalink
Fix secret
Browse files Browse the repository at this point in the history
  • Loading branch information
JakeGinnivan committed Jul 18, 2024
1 parent 3fe3c35 commit 78bd1af
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion infra/app/ddd-2024.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ resource app 'Microsoft.App/containerApps@2023-05-02-preview' = {
}
]
secrets: union([
{
name: 'clientSecret'
secretRef: authClientSecret
}
],
map(secrets, secret => {
name: secret.secretRef
Expand Down Expand Up @@ -141,7 +145,7 @@ resource authConfig 'Microsoft.App/containerApps/authConfigs@2023-11-02-preview'
enabled: true
registration: {
clientId: authClientId
clientSecretSettingName: authClientSecret
clientSecretSettingName: 'clientSecret'
openIdIssuer: 'https://login.microsoftonline.com/${subscription().tenantId}/v2.0'
}
}
Expand Down

0 comments on commit 78bd1af

Please sign in to comment.