I’m brand new to Auth0 and just created an API through the Dashboard with all default settings.
Auth0 automatically generated a client application to test my API.
I made sure the test client application was enabled.
Trying to get an access token for the test client application (almost) never works, resulting instead in BadRequest responses.
From the Quick Start section in the dashboard for the test client application, I tried:
- cURL
- C# (which was outdated for .NET 6, btw)
From the documentation (Call Your API Using the Client Credentials Flow), I tried the C# example (form-encoded instead of json), which also didn’t work.
From PostMan, I tried a basic JSON POST, which DID work.
Why does it work in PostMan with all default settings, and nowhere else? Particularly, why doesn’t it work for any of the various examples that you provide in your documentation and Dashboard Quick Starts?