Not sure what you mean not possible
Step 1 - Redirect to Twitch
Step 2 - user accepts (or delcines) the account/clientID Link
Step 3 - under regular/code auth they come back to your redirecURL with a ?code
Step 4 - exchange the code for a token.
But if you are doing this in a pure JS environment then you use implict auth
Like this example Twitch Implicit Auth Example
Step 1 - Redirect to Twitch
Step 2 - user accepts (or delcines) the account/clientID Link
Step 3 - users comes back to your site with a #access_token