AccessToken scope issue

scope returned in GET oAuth access token is not correct.

We have removed role:read:admin scope from configured app and when we generated the token we received this scope in scope list. When we tried calling List Roles API with the generated token it got failed with reason missing scope.

  1. Why we got role:read:admin scope in scope list even after removing it from configured app’s scope.
  2. Based on received scope list we made API call to List Roles and there it got failed.

Any help will be really helpful.

Which App Type (OAuth / Chatbot / JWT / Webhook)?

Which Endpoint/s?

Hi @mjoshi,

After removing the scope, can you ensure that you’ve 1) regenerated your authorization URL and 2) re installed your app?

Let me know if you still see the issue afterwards—thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.