Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to deploy app due to invalid client ID #2532

Closed
irfanhabib opened this issue Jun 27, 2018 · 1 comment
Closed

Failed to deploy app due to invalid client ID #2532

irfanhabib opened this issue Jun 27, 2018 · 1 comment
Assignees

Comments

@irfanhabib
Copy link
Contributor

Reported from slack

Failed to deploy app! Reason: Failed due to Server error, status code: 400, error code: invalid_grant, message: Wrong client for this refresh token: stratos_clientid! <-- error when deploying app
@irfanhabib irfanhabib added P1 Priority 1 bug labels Jun 27, 2018
@nwmac nwmac self-assigned this Jun 27, 2018
@andrewghobrial
Copy link
Contributor

andrewghobrial commented Jun 27, 2018

adding

repo.SetUAAOAuthClient(cfAppPush.portalProxy.GetConfig().CFClient)
repo.SetUAAOAuthClientSecret(cfAppPush.portalProxy.GetConfig().CFClientSecret)

to getConfigData() in deploy.go fixes the wrong client issue.

Ideally this should be fixed by applying this #2269 and using the specific client/secret for the endpoint when setting up the cf client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants