I get "unauthorized 401" message when call to my api

I´m use https://auth0.com/docs/quickstart/backend/aspnet-core-webapi in my api and this https://auth0.com/docs/libraries/auth0-spa-js to call my api but always get error 401

const token = await auth0.getTokenSilently();

  const response = await fetch("https://localhost:44307/api/client", {

    headers: {

      Authorization: `Bearer ${token}`

    }

  });

la solución fue agregar el parametro audience in

auth0 = await createAuth0Client({

    domain: config.domain,

    client_id: config.clientId,

    audience: config.audience,

    scope: config.scope

  });