Using Twitch API for authentification inside a Chrome app

Chrome apps can have urls (for example, chrome-extension://omjghcmcgmlbelimhhcocpogolifaild/injected.js), and the Twitch API supports passing the oauth token directly to the page via the url hash. That should let you do what you need.