Currently, the OAuth callback URL redirects to https://github.com/fenhl/bitbar-twitch/wiki/oauth-landing with an access token in the fragment that you then have to manually copy out of the URL bar and paste into a JSON file. This could be improved by registering a URL handler for the plugin, but that seems to be rather complicated. Maybe a nice middle-ground would be a callback page with a big button to copy the token via JS?
Currently, the OAuth callback URL redirects to https://github.com/fenhl/bitbar-twitch/wiki/oauth-landing with an access token in the fragment that you then have to manually copy out of the URL bar and paste into a JSON file. This could be improved by registering a URL handler for the plugin, but that seems to be rather complicated. Maybe a nice middle-ground would be a callback page with a big button to copy the token via JS?