File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ func main() {
29
29
ConfidentialIdentityProviderOptions : identity.ConfidentialIdentityProviderOptions {
30
30
ClientID : cfg .AzureClientID ,
31
31
ClientSecret : cfg .AzureClientSecret ,
32
- CredentialsType : "Certificate" ,
32
+ CredentialsType : identity . ClientCertificateCredentialType ,
33
33
Authority : identity.AuthorityConfiguration {
34
34
AuthorityType : identity .AuthorityTypeMultiTenant ,
35
35
TenantID : cfg .AzureTenantID ,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ func main() {
28
28
ConfidentialIdentityProviderOptions : identity.ConfidentialIdentityProviderOptions {
29
29
ClientID : cfg .AzureClientID ,
30
30
ClientSecret : cfg .AzureClientSecret ,
31
- CredentialsType : "ClientSecret" ,
31
+ CredentialsType : identity . ClientSecretCredentialType ,
32
32
Authority : identity.AuthorityConfiguration {
33
33
AuthorityType : identity .AuthorityTypeMultiTenant ,
34
34
TenantID : cfg .AzureTenantID ,
Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ package config
2
2
3
3
import (
4
4
"encoding/json"
5
- "os"
6
5
"fmt"
6
+ "os"
7
7
"strings"
8
8
)
9
9
You can’t perform that action at this time.
0 commit comments