page and per_page parameters. Beginning on 21 July 2020 (or Private Cloud version 2108), Auth0 will display tenant logs and a migration toggle to help you prepare for this change.
Affected tenants are those that meet the following criteria:
- Public Cloud tenants created before 21 July 2020 or Private Cloud deployments on version 2108
- Actively making calls to the affected endpoints without passing the
per_pageparameter for queries that can return more than 1 result.
- Public Cloud tenants created on or after 21 July 2020 or Private Cloud deployments on version 2108 or higher
- Not using any of the affected endpoints
- Using the affected endpoints and passing the
per_pageparameter, or making queries that will always return a single result.
Endpoints affected
Calls to the following Management API v2 endpoints are affected:GET /api/v2/clientsGET /api/v2/client_grantsGET /api/v2/grantsGET /api/v2/connectionsGET /api/v2/device-credentialsGET /api/v2/resource-serversGET /api/v2/rules
Actions
- Replace all calls to the affected endpoints by providing the
pageandper_pageparameters.
| Parameter | Type | Description |
|---|---|---|
page | Integer | Page index of the results to return. First page is 0. |
per_page | Integer | Number of results per page. Paging is disabled if the parameter is not sent. |
-
Confirm that you are no longer seeing deprecation notices in your tenant logs. Check if a request returned more than 50 items. Look at the
details.size_exceededfield and check if it’strue.- Use the following log query to return all calls without pagination options with more than 1 result:
type:depnote AND description:*Unpaginated* - Use the following log query to return all calls without pagination options with more than 50 results:
type:depnote AND description:*Unpaginated* AND details.size_exceeded:true
client_idused to make the request. You can also find the endpoint being used in the logsdetails.pathfield. - Use the following log query to return all calls without pagination options with more than 1 result:
- Disable Management API unpaginated requests for your tenant. Go to Dashboard > Tenant Settings > Advanced > Migration. This will simulate the expected behavior after the migration window closes, causing calls to affected endpoints to return up to 50 results. You will be able to re-enable unpaginated requests any time before that date.
Update extensions
You may need to update from previous versions of Auth0 Extensions and custom extensions to the latest versions to make sure they are only performing paginated queries.- Check your tenant logs for deprecation notices for clients with an ID matching an extension URL. It means you will need to update that extension.
- Go to Dashboard > Extensions, select Installed Extensions, and click on the extension’s Update link if present.
Update Deploy CLI tool
If you are using theauth0-deploy-cli tool, you must update to version 5.3.0 or later. To learn more, see Deploy CLI Tool.