Bearer Token Auth

I have a legacy asp.net mvc site (.net 4.8.2) and a new .net8 site both loggin in though Auth0. When I loggin through either of these clients I have Claims in my user, however when I call the token endpoint like this:

var clientToken = new HttpClient();
clientToken.BaseAddress = new Uri(“https://xxx-qa.eu.auth0.com/”);
Dictionary<string, string> _values = new Dictionary<string, string>();
_values.Add(“grant_type”, “client_credentials”);
_values.Add(“client_secret”, “nxVJxxxxxxxxxxxxxxxxxxxxxxxxxxxKfjT”);
_values.Add(“client_id”, “tlUxxxxxxxxxxxxxxxxxxx383”);
_values.Add(“audience”, “http://localhost:3010/”);

var _content = new FormUrlEncodedContent(_values);
string res = “”;
using (var response = clientToken.PostAsync(“oauth/token”, _content).Result)
{
using (HttpContent content = response.Content)
{
res = response.Content.ReadAsStringAsync().Result;
}
}
userClaims

I get the JSON token with 6 claims in, but when I pass it to the api like this:
var clientToken = new HttpClient();
clientToken.BaseAddress = new Uri(“http://localhost:3010/”);
clientToken.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue(“bearer”, token);

using (var response = clientToken.GetAsync(“api/claims”).Result)
{
using (HttpContent content = response.Content)
{
//res = response.Content.ReadAsStringAsync().Result;
}
}

There are no claims present in my user object. The settings in my api are:

apiSettings