We don’t support the confidential client options so you would need to make a workflow that manually implements all of the authentication endpoints that are required, It could be that just using the prefefined credential will do the job with an http request node to add the headers but you will need to store the values somewhere so it will get messy.
Another thought is you could make a custom credential if you are handy with a bit of javascript and add in the extra fields with a custom authenticate option but that is also going to be tricky.