Organization Scoped M2M Applications
I am having trouble creating scoped M2M apps. Using the GUI I create the app from the Organization -> M2M apps menu. After entering an app name it shows the app details with the org shown. It lets me authorize an API but as soon as you try to edit the scopes or customize the token it becomes unresponsive.
After refreshing, you can see the application, but it no longer shows the organization. Inspecting the test token shows that there is no org_code claim in the token.
I have also created an org scoped M2M app using the Kinde Management API, but this ends up with the same result (no org_code claim).
Any help here would be appreciated.
5 Replies
Hi Aidan,
Thanks for raising this with us and for sharing the details of what you’ve tried.
Org-scoped M2M applications are designed to include the
Thanks
org_code
claim in their tokens, but this feature is only available on the Kinde Plus and Kinde Scale plans. Could you let us know which plan you’re currently on? That will help us confirm whether the behaviour you’re seeing is expected or if there’s an issue we need to look into further.Thanks
Currently on the Plus plan
Thanks for confirming that. I’ve had a quick chat with our team and was informed of a couple of known issues with org-scoped M2M apps. While fixes are on the way, these workarounds should help:
1. Editing scopes / customizing the token
- Go to All Applications from the Kinde home page.
- Find and open your org-level M2M app.
- Navigate to the Scopes section and add or adjust the scopes you need.
2. Adding a missing
org_code
in the token
- Go to Settings → Properties.
- Click Add Property and enter a name (e.g., temp_org_code
).
- Set Property Type to Application.
- Open your app, go to Application → Customize M2M token, and enable this new property so it is included in the token.
Following these steps should keep you unblocked until the permanent fix is released. Let me know if you have any other questions.What is the ETA on this fix?
We don’t have an exact ETA for the fix at the moment. Once it becomes available, I’ll make sure to update you right away.