I’ve gotten my auth code just fine using the /authorize endpoint
https://id.twitch.tv/oauth2/authorize?client_id=<client_id>&redirect_uri=http://localhost&response_type=code&scope=
but when I use the provided code with the /token endpoint
https://id.twitch.tv/oauth2/token?client_id=<client_id>&client_secret=<client_secret>&code=<code>&grant_type=authorization_code&redirect_uri=http://localhost
I get a 404 with no additional data provided. Any ideas? Everything looks correct per the docs to me.