I’m trying to figure out the best way to log into twitch via oauth while using a chrome extension. I can get the redirect just fine to a remote server but I can’t think of a way to get the token to the chrome extension to load the info.
Has anyone done this before that can give some pointers on the direction to go?
It still requires a static redirect link so I can’t have it push straight to the extension. I guess I need to just use javascript to pull the token from the url on the static page after logging in via the implicit.
I thought Chrome extensions had a specific unique identifier of some sort? Something along the lines of chrome-extension://identifier/index.html
I have never worked with extensions, but I was under that impression.