Kinde management API returns "scope missing"

Hello, I went through the Youtube tutorial on testing the Management API https://www.youtube.com/watch?v=iqO7CL3QyY8 and all is going well, except in the last step i get scope is missing, even though i have read:users enabled in my m2m application. What am I doing wrong?
Kinde
YouTube
Testing the Kinde Management API
A quick demo showing you how easy it is to test the Kinde Management API with an M2M test token. Check out the new Kinde API docs here ➡️ https://docs.kinde.com/kinde-apis/management/ 00:00 - Intro 00:23 - Demo 01:14 - Outro
No description
No description
No description
3 Replies
Zaki
Zaki2mo ago
Hi @Michal Kučera, Let’s go over the steps together to ensure everything is in order: 1) You added the M2M app. 2) Navigated to APIs from the side menu, authorized the app, and added the read:users scope. 3) Clicked on Kinde Management API, then navigated to the Test page from the side menu. 3) Verified that the selected authorized app was m2m and pressed the Get Token button to generate a token. 3) Clicked on Use Test Token and searched for the /api/v1/users endpoint under the Users section. 3) Selected the endpoint, clicked on Test Request, and then pressed Send. Please let me know if any of these steps were unclear or if the issue persists, and I’ll assist further.
Michal Kučera
Michal KučeraOP2mo ago
Zaki I found that the Kinde management API docs are persisting an old token - that seems to be the problem Once I copy-paste the code manually and paste it manually it works. When I use the Test Request, and old code is stuck there, leading to the "missing scopes" message
Zaki
Zaki2mo ago
Great to hear that you were able to get it working! I'll also make sure to report this issue to the team so we can look into it and get it resolved. Thanks for bringing this to our attention!

Did you find this page helpful?