Skip to content

Commit

Permalink
Fix reauth issues, when initial token auth is used
Browse files Browse the repository at this point in the history
  • Loading branch information
kayrus committed May 31, 2021
1 parent 4c2c774 commit d087987
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ func newOpenStackClient(loc Location) (*gophercloud.ProviderClient, error) {
IdentityEndpoint: loc.AuthURL,
ApplicationCredentialID: ac.ID,
ApplicationCredentialSecret: ac.Secret,
AllowReauth: true,
}

err = openstack.Authenticate(provider, *ao)
Expand Down

0 comments on commit d087987

Please sign in to comment.