def authenticate_twitch_oauth():
client_id = TWITCH_CLIENT_ID<EOL>redirect_uri = "<STR_LIT>"<EOL>url = ("<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>"<STR_LIT>").format(client_id, redirect_uri)<EOL>console.msg("<STR_LIT>"<EOL>"<STR_LIT>")<EOL>try:<EOL><INDENT>if not webbrowser.open_new_tab(url):<EOL><INDENT>raise webbrowser.Error<EOL><DEDENT><DEDENT>except webbrowser.Error:<EOL><INDENT>console.exit("<STR_LIT>"<EOL>"<STR_LIT>".format(url))<EOL><DEDENT>
Opens a web browser to allow the user to grant Streamlink
       access to their Twitch account.