
39c6y (39c6y) asked a question.
Hi Team
Could you please let me know how to send state parameter with Client Credentials flow (https://developer.okta.com/docs/guides/implement-grant-type/clientcreds/main/)?
We have a custom auth server setup in Okta that invokes an inline hook (token). Is there a way to send the state param with client credentials or any other param with this flow that gets carried over to inline hook event object?
Thanks
Shray

Hello @39c6y (39c6y)
I hope you are having a great day
If you are using auth code flow the state parameter will be passed back in response of auth code request: https://developer.okta.com/docs/guides/implement-auth-code/use-flow/ you can confirm it by checking the information in the link below:
https://developer.okta.com/docs/guides/implement-grant-type/authcode/main/#flow-specifics
Have a great day ahead
Regards
Henry Esquivel
Okta Inc
Hi Henry
Unfortunately, this answer does not help. I cannot use the auth code flow because we do not have user or sign in credentials that auth code flow would require ultimately. My only option is to use client credentials flow with client id and client secret, so is there a way to send any other param or header that would get passed to token inline hook event object with client credentials flow only?
@User16308869954358539580 (Okta) - Could you please help with this?