Comments (3)
Is this an improvement that can be brought into this lib?
from go-cfclient.
Hi @lizzha by default this client will use the oauth refresh tokens to get a new token automatically whenever a token has expired. This has the caveat of refresh tokens themselves actually having an expiry (something like a few days). In order to get a new token after that you would basically want to recreate the client to kick off the oauth process from the very start.
from go-cfclient.
Hi,
we recently faced the same issue where the library failed to renew the refresh token.
It turned out that using a CF user/password for login will not work when it comes to renewing the refresh token. If that has to be refreshed the underlying oauth client will use the token_url which then requires a UAA client/secret, not a CF user/password.
Best
Michael
from go-cfclient.
Related Issues (20)
- Update security group cannot remove all rules HOT 4
- [Request/Discussion] Moving the client to he CloudFoundry Foundation Org HOT 3
- ServiceInstance create has only parameters for managed offering. Missing params for user provided service instance creation HOT 2
- Make health-check-http-endpoint optional HOT 5
- Port attribute in route should be nullable
- Support for manifest generation api
- Invalid attributes in Domain Create
- Manifest unmarshal fails with service type HOT 7
- Delete Service Credential Binding does not return job GUID
- Create role via username and origin HOT 1
- Unable to update-unset route_service_url/tags from service instance
- Name attribute in service credential binding should be nullable
- Extra attributes appearing in credential binding details
- Unable to set instances to 0 in app manifest
- Delete Buildpack does not return job GUID
- Unable to update-unset stack for buildpack
- Filename is hardcoded while uploading buildpack
- Stack attribute in buildpack should be nullable
- Missing fields in stack resource HOT 2
- Go build fails due to Golang cross compile undefined errors with C module HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-cfclient.