Client credentials grant flow API, CORS issue

The only problem with that is that I do not want the users to do anything. I just need the token to call the helix API: https://api.twitch.tv/helix/search/channels

Please let me know if there is another way to do that without using the Implicit flow.