Giter Club home page Giter Club logo

Comments (4)

cf-gitbot avatar cf-gitbot commented on July 18, 2024

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.

smatochkin avatar smatochkin commented on July 18, 2024
  • According to UAA API specs, GET /oauth/clients/{client_id} should return resource_ids attribute as an Array.
  • 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.

Houlistonm avatar Houlistonm commented on July 18, 2024

Just to follow up

$ uaa version
0.10.0 8626b94

OM/PAS = 2.8.5

Problem persists.

from uaa-cli.

shamus avatar shamus commented on July 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.