<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
0D54z00007YnQ1aCAFOkta Classic EngineAPI Access ManagementAnswered2024-05-09T19:13:18.000Z2022-04-05T02:41:04.000Z2022-04-06T16:10:01.000Z
Client Credentials Flow with different application type

I've got client credentials flow working, but there's one aspect that's not clear to me. Can a single API support multiple application types with different scopes/roles? Some of my client applications only need read access to my service application and others will need to create and update date, so I want some apps to only have the Reader scope/role and others to have Writer scope/role.

 

I'm not seeing how to assign different client applications different scopes/roles. Do I need to create a different API for each consumer type?


  • Hi @User16389926695348686365 (Customer)​ , Thank you for reaching out to the Okta Community!

     

    As far as the information I was able to find, that's what scopes and claims are for, scoping the access for a specific token to only the permitted resources

     

    Access policies/rules can lock down which apps can request what scopes, and claim expressions can be written to be application specific.

     

    My advice would be to leverage the Okta Developer forums for this type of questions and take advantage of their expertise.

     

    https://devforum.okta.com/

     

    Hope it helps!

    Expand Post
This question is closed.
Loading
Client Credentials Flow with different application type