cloudfoundry / cloudfoundry/uaa-cli
uaa-linux-amd64-0.13.0 list-clients returns malformed output
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 22
- Forks
- 14
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 11
Description
Hello,
we are trying to move vom uaa ruby client to uaa go client in a corporate environment on Debian Linux 11.8. We can´t use a newer Debian in cause of company guidelines and working as normal user not as root or with sudo.
>> ./uaa-linux-amd64-0.13.0 target https://uaa.restofuaaurl.de
Target set to https://uaa.restofuaaurl.de
>> ./uaa-linux-amd64-0.13.0 get-client-credentials-token admin -s our_secret_string
Access token successfully fetched and added to context.
./uaa-linux-amd64-0.13.0 list-clients
And now the output is not a wellformed json as expected rathern an malformed output beginning with An unknown error occurred while parsing response from https://uaa ... and ending with json: cannot unmarshal string into Go struct field Client.resources.resource_ids of type []string This occours in all our environments.
Hope the infos are helpful and a fixed version is coming out soon ;)
Thanks in advance & Best regards
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the list-clients command and the reported unmarshal error for Client.resources.resource_ids; inspect how that response is parsed. Reproduce against the reported UAA endpoint or a comparable environment, then verify that list-clients produces well-formed JSON without the parsing error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- api, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100