After registering my app with a redirect URI of http://localhost:3000, I tried to generate a user token but no response on console.
I am using macOS Big Sur and Google chrome.
Followed the below steps:
- twitch configure >> added the client id and secret >> Updated configuration.
- twitch token -u -s “user:read:email”
- Redirected to app for authorization >> authorized it
- The browser displays “Feel free to close this browser window.” but no response on console, it still shows “Opening browser. Press Ctrl+C to cancel…”
- On refreshing web browser, I get “This site can’t be reached localhost refused to connect.”
How to get the user token? What am I doing wrong?