HF RL Explorer

Task: Fix OAuth2 Client Credentials Authentication in C RestSharp

Task: Fix OAuth2 Client Credentials Authentication in C RestSharp: a task in Terminal-Lego-15k (Harbor dataset). You are working on a C client application that needs to authenticate with an OAuth2 server using the client credentials grant type. The current RestSharp implementation is returning…

The task

You are working on a C# client application that needs to authenticate with an OAuth2 server using the client credentials grant type. The current RestSharp implementation is returning "unauthorized" responses, while the equivalent curl command works correctly.

Part of PrimeIntellect/Terminal-Lego-15k.