Comments (4)
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/168193674
The labels on this github issue will be updated when the story is started.
from uaa-cli.
- According to UAA API specs,
GET /oauth/clients/{client_id}
should returnresource_ids
attribute as anArray
. - Actual UAA implementations return
resource_ids
either as an array of strings or as a simple string.
Example of querying UAA v4.19.2:
$ uaa curl /oauth/clients|jq '.resources[]|select(.resource_ids|type == "string")'
{
"scope": [
"cloud_controller.admin",
"cloud_controller.read",
"cloud_controller.write",
"openid",
"zones.*.*",
"zones.*.*.*",
"zones.read",
"zones.write",
"scim.read"
],
"client_id": "identity",
"resource_ids": "none",
"authorized_grant_types": [
"authorization_code",
"client_credentials",
"refresh_token"
],
"redirect_uri": [
"REDACTED",
"REDACTED*"
],
"autoapprove": true,
"authorities": [
"zones.read",
"zones.write",
"scim.zones",
"uaa.resource",
"uaa.admin",
"cloud_controller.admin"
],
"lastModified": 1551175600000
}
So, even with uaa-cli
is API compliant, it is not compatible with the actual UAA servers.
from uaa-cli.
Just to follow up
$ uaa version
0.10.0 8626b94
OM/PAS = 2.8.5
Problem persists.
from uaa-cli.
Hello. The /oauth/clients
api does have some quirks and I agree that this cli should handle those.
We don't have plans to start work on this CLI again at the moment, but if we do this issue will be addressed then.
from uaa-cli.
Related Issues (20)
- Please build with CGO_ENABLED=0
- Howto enhance this tool
- uaa remove-member HOT 3
- support custom root CAs HOT 2
- uaa-linux-amd64-0.13.0 list-clients returns malformed output
- politely suggest re-login if ~/.uaa/config.json is v0.0.1 format - upgrading from v0.0.1 to master/HEAD panics HOT 1
- issue exsiting https://github.com/cloudfoundry-community/go-uaa/issues/10 HOT 3
- UAA CLI not validating scopes HOT 1
- Just how experimental is uaa-cli? HOT 3
- ETA for next burst of R&D on this CLI? HOT 5
- Remove "experimental" from project description HOT 3
- Using concourse to retrive the lastest version of uaa-cli returns 0.0.1 HOT 2
- user creation shouldn't require givenname and familyname flags HOT 2
- `uaa help` expects too much knowledge HOT 1
- add to brew tap? HOT 2
- uaa curl assumes host HOT 1
- UAA _can_ return client resource_ids as string HOT 2
- Parsing error during login to corporate PCF environment HOT 1
- uaac curl works but uaa curl does not. HOT 2
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 uaa-cli.