add endpoint in access token azure

This commit is contained in:
garnier-quentin 2020-04-03 15:30:51 +02:00
parent 35d48fd566
commit 5bd7ccb691
1 changed files with 2 additions and 1 deletions

View File

@ -167,7 +167,8 @@ sub get_access_token {
'azure_api_' .
md5_hex($self->{subscription}) . '_' .
md5_hex($self->{tenant}) . '_' .
md5_hex($self->{client_id})
md5_hex($self->{client_id}) . '_' .
md5_hex($self->{management_endpoint})
);
my $expires_on = $options{statefile}->get(name => 'expires_on');
my $access_token = $options{statefile}->get(name => 'access_token');