<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D5KZ00001ZNRgb0AHOkta Classic EngineAdmin RolesAnswered2025-11-07T10:30:24.000Z2025-11-03T09:55:02.000Z2025-11-07T10:30:24.000Z

MichaelG.50941 (Customer) asked a question.

Scope okta.appGrants.read requires Super Admin

Hello, I am developing an app that fetches a list of application OAuth 2.0 grants using the "/apps/{id}/grants" endpoint. I am always getting the error 403 (Forbidden) from the API, even though I assigned this app the "okta.appGrants.read" grant, the built-in "Read-only Administrator" role, and a custom role assigned the "View roles, resources, and admin assignments" permission over a resource set containing "All Identity and Access Management resources".

 

Not even the built-in App Admin role seems to be sufficient. The issue only disappears if I assign the app the Super Admin role, but this is IMO an overkill for read-only operations and violates the principle of least privilege.

 

Is there please a viable way of delegating the permission to read application grants, without assigning the app the Super Admin role?


  • DianaL.19788 (Customer Support Online Community and Social Care)

    Hello @MichaelG.50941 (Customer)​ , thank you for contacting Okta Community!

     

    I've reviewed our documentation for something relevant. It looks like your question is more appropriate for our dedicated Okta Developer Forum. I advise reaching out via devforum.okta.com  as they will have more insight into this topic. 

     

    While we'll do our best to answer your questions here, this medium is more inclined towards Okta's core products and features (non-developer work).

     

    Regards. 

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Expand Post
  • MichaelG.50941 (Customer)

    THX. I will ask, but to me this seems like a gap/bug in the current RBAC model design.

This question is closed.
Loading
Scope okta.appGrants.read requires Super Admin