Hi @omar.elsafwany,
Welcome to the Auth0 Community!
The client credentials grant does not support refresh tokens.
I think there may be some confusion though, because it doesn’t sound like you are using client credentials, but rather an auth code.
Could you show us a code snippet of what you are doing?