Skip to content

Commit

Permalink
Merge pull request #2553 from cloudfoundry-incubator/fix-app-push-client
Browse files Browse the repository at this point in the history
Fix client and client secret issues when pushing apps
  • Loading branch information
Irfan Habib authored Jun 28, 2018
2 parents add3caa + e1077ad commit 42b51bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/backend/cfapppush/deploy.go
Original file line number Diff line number Diff line change
Expand Up @@ -537,6 +537,8 @@ func (cfAppPush *CFAppPush) getConfigData(echoContext echo.Context, cnsiGuid str
repo := coreconfig.NewRepositoryFromFilepath(filePath, func(error) {})

repo.SetAuthenticationEndpoint(cnsiRecord.AuthorizationEndpoint)
repo.SetUAAOAuthClient(cfAppPush.portalProxy.GetConfig().CFClient)
repo.SetUAAOAuthClientSecret(cfAppPush.portalProxy.GetConfig().CFClientSecret)
repo.SetAPIEndpoint(cnsiRecord.APIEndpoint.String())
repo.SetDopplerEndpoint(cnsiRecord.DopplerLoggingEndpoint)
repo.SetSSLDisabled(cnsiRecord.SkipSSLValidation)
Expand Down

0 comments on commit 42b51bd

Please sign in to comment.