IRC bot now needs an OAuth for Helix API calls

Thank you for your reply. I can’t get implicit flow to work, though.

Following the steps in the Getting Tokens docs, something as easy as copying the example 1:1 and replacing the client key:

$ curl -X GET “https://id.twitch.tv/oauth2/authorize?response_type=token&client_id=${CLIENT_ID}&redirect_uri=http://localhost&scope=viewing_activity_read&state=c3ab8aa609ea11e793ae92361f002671&force_verify=true

…admittedly does give me an HTML link…

<a href=“Twitch”>Found</a>.

…but it just leads me to the Twitch front page (Twitch). Authentication is only requested if I log out first, and even then it doesn’t redirect me to the http://localhost redirect URL; it stays on the front page, and that’s with force_verify=true.

It seems like implicit flow is the right way to go. What am I doing wrong when I can’t even get the example working?