Inline took hook client credential flow fails with error ID Token not found

inline took hook for client credential flow fails with error : [Failure processing inline hook response](ID Token not present].

This works will for authorization code flow as it has ID Token in it.

Please suggest how to use inline hook with client credential to add custom claims in JWT.

Hello. Client Credentials flow will not provide an ID token:

https://developer.okta.com/docs/concepts/oauth-openid/#does-your-application-need-an-id-token

You would want to use the com.okta.access.patch command in your response:

https://developer.okta.com/docs/reference/token-hook/#supported-commands

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