I was trying to use the OAuth 2.0 feature of the on-prem workflow and kept getting an unauthorized response.
So I called the token endpoint with default authorization and the credentials in the headers where it said the credentials were invalid. I asked chatgpt what in the world was going on and it said you need to encode your credentials into a base64 string like this
That did the trick.
Should there be a checkbox here to encode to base64 when using OAuth 2.0. I would rather not have to call the token endpoint in a separate http request as it doubles the amount of request activities.