Skip to content
This repository was archived by the owner on Aug 6, 2021. It is now read-only.

Commit

Permalink
fix refresh token
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurHlt committed Aug 21, 2018
1 parent b75f2b4 commit e8c8442
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cf_client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,11 @@ func (client *CfClient) Init() error {
//Retry Wrapper
logger := NewCfLogger(client.config.Verbose)
client.uaaClient = uaa.NewClient(repository)
err = client.uaaClient.SetupResources(ccClient.AuthorizationEndpoint())
if err != nil {
return err
}

client.uaaClient.WrapConnection(uaaWrapper.NewUAAAuthentication(client.uaaClient, repository))
client.uaaClient.WrapConnection(uaaWrapper.NewRetryRequest(2))

Expand Down

0 comments on commit e8c8442

Please sign in to comment.