When we receive a specific grant from the user oAuth2 ( beta/<tenant_id>/oAuth2Permissiongrants ), we get only 3 grants each with an empty field:
[{ "consentType": "AllPrincipals", "resourceId": "xxxxxxx-b2e2-42d8-9586-21aa24c78412", "expiryTime": "2017-08-27T10:19:35.8989022Z", "principalId": None, "clientId": "xxxxxxx-bd4a-4ac5-ad18-ee304693a3ee", "startTime": "2016-02-27T10:19:35.8989022Z", "scope": "", "id": "xxxxxxxxxx4wRpOj7nrF0zXisthClYYhqiTHhBI" }, { "consentType": "AllPrincipals", "resourceId": "xxxxxxxx-b2e2-42d8-9586-21aa24c78412", "expiryTime": "2018-03-01T15:16:24.8088543Z", "principalId": None, "clientId": "xxxxxxxx-633d-4f27-9d07-fe3f95aaa41c", "startTime": "2016-09-01T15:16:24.8088543Z", "scope": "", "id": "xxxxxxxx-dB_4_laqkHHrF0zXisthClYYhqiTHhBI" }, { "consentType": "AllPrincipals", "resourceId": "xxxxxxx-b2e2-42d8-9586-21aa24c78412", "expiryTime": "2017-12-13T15:30:31.8853053Z", "principalId": None, "clientId": "xxxxxxxx-c2a8-4f2d-92d5-f4e41f82ad4c", "startTime": "2016-06-13T15:30:31.8853053Z", "scope": "", "id": "xxxxxxxxx-S1fTkH4KtTHrF0zXisthClYYhqiTHhBI" }]
We know for sure that this client should have dozens of oAuth2 grants, which we expected to see in the API response.
What could be the reason?
source share