Skip to content

Commit

Permalink
Updated variableName
Browse files Browse the repository at this point in the history
  • Loading branch information
4gust committed Oct 31, 2024
1 parent b790013 commit efa66ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/confidential/confidential.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,13 +317,13 @@ func New(authority, clientID string, cred Credential, options ...Option) (Client
if err != nil {
return Client{}, err
}
region := os.Getenv("MSAL_FORCE_REGION")
autoEnabledRegion := os.Getenv("MSAL_FORCE_REGION")
opts := clientOptions{
authority: authority,
// if the caller specified a token provider, it will handle all details of authentication, using Client only as a token cache
disableInstanceDiscovery: cred.tokenProvider != nil,
httpClient: shared.DefaultClient,
azureRegion: region,
azureRegion: autoEnabledRegion,
}
for _, o := range options {
o(&opts)
Expand Down

0 comments on commit efa66ec

Please sign in to comment.