uaa-cli icon indicating copy to clipboard operation
uaa-cli copied to clipboard

uaa-linux-amd64-0.13.0 list-clients returns malformed output

Open Gnanf opened this issue 1 year ago • 0 comments

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

Gnanf avatar Feb 07 '24 10:02 Gnanf