KindeK
Kinde6mo ago
10 replies
EJ.

M2M API Scopes Not Updating After Edit. Must Recreate Application

I've encountered an issue with updating M2M application scopes in the Kinde dashboard. When I edit an existing Management API application to add new scopes (for example, I had read:user_properties at start and later I want to add update:user_properties) and save the changes, the API calls still fail with:

{"errors": {"code": "SCOPE_MISSING", "message": "Scope is missing: update:user_properties"}}

Workaround found:
The only way I could get the new scopes to work was to:
1. Delete the existing M2M application
2. Create a new M2M application
3. Configure all required scopes during initial setup
4. Update environment variables with new client credentials

It appears that scope changes to existing M2M applications are not properly propagated.
Was this page helpful?