Add custom parameter from request in access token through hooks in client credential flow

Hello Team,

I am trying to add custom claim from request in access token in client credential flow but I am not getting the desired the result.

Found out that APIs ignore extra parameter.

Is there a way to allow the parameter? If Yes, Can you please guide me through the steps.

Regards