spring-cloud-app-broker icon indicating copy to clipboard operation
spring-cloud-app-broker copied to clipboard

Invalid OAuth refresh token

Open buddyavis opened this issue 5 years ago • 1 comments

App broker is not able to deploy and undeploy backing application due to error=“invalid_token”, error_description=“Invalid refresh token (expired)

Given Username and password is configured in cloud.deployer.cloudfoundry and app broker generates the access token to communicate with cloud foundry platform.

When service instance are created immediately after App broker is deployed or restarted, all functions of the app broker is working fine as expected.

Then after 45 mins to 1 hour time frame, OAuth refresh token expires and app broker fails to deploy or undeploy backing application resulting in error.

Is there a way for app broker to automatically renew the access/refresh token after the expiry period of the current token?

Please let me know if there is any other configuration exists to solve this issue. Thanks in advance

buddyavis avatar Mar 05 '20 10:03 buddyavis

Hi @buddyavis, we think this is probably due to this known issue. Hopefully we'll be able to pick up the fix for this when it comes out.

spikymonkey avatar Jun 10 '20 16:06 spikymonkey