Can't manage to authenticate against Twitch Helix API

Thanks the quick response!

I took a look at the different OAuth Flows and tried to implement the “OAuth client credentials flow” to handle everything serverside. Thats how I try to retrieve the token:

const authorizeRequest = async () => {
    try {
        const data = {
            "client_id": clientId,
            "client_secret": clientSecret,
            "grant_type": "client_credentials"
        };

        const headers = {
            "Content-Type": "application/json"
        };

        return await axios.post("https://id.twitch.tv/oauth2/token", data, {headers});
    } catch (error) {
        console.log("Error retrieving token: ", error);
        throw new Error("Error retrieving token.")
    }
};

This works fine in terms of getting a token. But somehow this is still not the OAuth token the helix api is expecting me to provide:

“Missing User OAUTH Token”

Do I need to use one of the other flows to actually send the user through authorization?