<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
0D54z00006tZyXRCA0Okta Classic EngineAnswered2021-03-30T16:27:42.000Z2021-03-26T13:41:10.000Z2021-03-30T16:27:42.000Z
  • User15932079460456513078 (Vendor Management)

    Hi Aleksandar,

     

    Use the Client Credentials flow

    https://developer.okta.com/docs/guides/implement-client-creds/use-flow

     

    Client credentials flow is for machine-to-machine interactions

    so no, you cannot get an ID Token as an ID token contains information about an authorized user.

     

     

    Also cannot get refresh tokens using this flow

    you would just need to make another call with the client credentials to get new tokens.

     

    Finally yes, you can create custom claims. 

    Client Credentials flow (NOT OAuth for Okta) must use a custom authorization server, and you can always add custom claims to custom authorization servers.

     

    Because this is for client credentials flow and they will only get Access Tokens back, they will want to add these custom claims to the Access Token.

     

    Please if you want to know more or if you need further assistance, please feel free to create a support case.

    Expand Post
This question is closed.
Loading
Client Credentials flow with id token, refresh token and custom claims