Executing uaa get-client identity against a Tanzu Application Service installation results in the following error:
json: cannot unmarshal string into Go struct field Client.resource_ids of type []string
The raw UAA response object contains a single string instead of an array of resource_ids. Here's the raw response:
{
"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": [
"https://p-identity.sys.example.com/dashboard/",
"https://p-identity.sys.example.com/dashboard/**"
],
"autoapprove": true,
"authorities": [
"zones.read",
"zones.write",
"scim.zones",
"uaa.resource",
"uaa.admin",
"cloud_controller.admin"
],
"lastModified": 1588509584000
}
This is the only client that seems to have this issue. The UAA API clearly documents that client resource_ids should be an array.
Executing
uaa get-client identityagainst a Tanzu Application Service installation results in the following error:The raw UAA response object contains a single string instead of an array of resource_ids. Here's the raw response:
{ "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": [ "https://p-identity.sys.example.com/dashboard/", "https://p-identity.sys.example.com/dashboard/**" ], "autoapprove": true, "authorities": [ "zones.read", "zones.write", "scim.zones", "uaa.resource", "uaa.admin", "cloud_controller.admin" ], "lastModified": 1588509584000 }This is the only client that seems to have this issue. The UAA API clearly documents that client resource_ids should be an array.