I am using ASP.NET Web API (OWIN) Authorization as my API test harness. I have created a default Auth0 API.
I added to the Web API the proper web.config settings for the Auth0 API
<appSettings> <add key="Auth0Domain" value="mikemichaelis.auth0.com" /> <add key="Auth0ApiIdentifier" value="test-api.azurewebsites.com" /> </appSettings>
The API test client was created automatically. I added to the test client configuration the callback necessary to use the Auth0 Authentication API Debugger Extension.
Using the API Debugger Extension I have selected the proper test client and initiated the OAUTH2 CLIENT CREDENTIALS flow to obtain an access_token
Within Postman I have tested calling the unsecured Ping API endpoint successfully. Calling the secured endpoint fails as expected. I have added the access_token as an Authorization Bearer token, but the secured Ping call still fails.
Thank you for any help in fixing my problem!