I’m using the deploy CLI to export all my client grants. It creates a JSON directory folder called grants, with a JSON file for each client, but each of these files only supports one grant. For example, I have a file called Group Member.json with the following JSON file:
{
"client_id": "Group Plan Member App Portl",
"audience": "http://127.0.0.1:8080/group-app",
"scope": [
"full_access"
]
}
What you have observed is the expected behavior after you have exported all of your clients’ grants using the Auth0 Deploy CLI.
After the export is complete, it creates a grants folder where it creates a file for each Application assigned to an API with the assigned scopes (permissions).
In this case, you should see 3 separate files for your Group Plan Member App Portl client for each API with the assigned scopes.
Please note that each file can only reference one API.