Skip to content

Commit

Permalink
authentication: requesting a token using the audience address (#2381)
Browse files Browse the repository at this point in the history
  • Loading branch information
tombuildsstuff authored Nov 26, 2018
1 parent ce5cdb9 commit da1f699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion azurerm/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ func getArmClient(c *authentication.Config, skipProviderRegistration bool) (*Arm

// Resource Manager endpoints
endpoint := env.ResourceManagerEndpoint
auth, err := c.GetAuthorizationToken(oauthConfig, endpoint)
auth, err := c.GetAuthorizationToken(oauthConfig, env.TokenAudience)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit da1f699

Please sign in to comment.