<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
System Status
Announcements
Announcements
Search
Search
Select Language
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?


  • Mihai N. (Okta, Inc.)

    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
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply