Using Twitch API for authentification inside a Chrome app

93 views Asked by At

I'm trying to do something but i don't really know if that's possible:

I have website where users can only login using their Twitch account via the Twitch API. When they're doing it the first time, it creates their account and when they do it again, it logs them. And when they're logged in, a session variable in PHP is set so i can check on every page if the user is logged in or not.

The thing is i want to have a chrome app that can get informations about the authentified user and displays them on it (it has to be a separated window).

But i'm facing the following issue: i cannot use twitch api on my chrome app because it needs a redirect uri which i can't provide because, well, it's a chrome app. (and i don't really know much about them, i tried webviews and iframes but no success)

0

There are 0 answers