See twitch chat without logging into a client

is there a way to look at a twitch channels chat without having to login, as i am creating a client side script that needs to passively read chat, however i do not want to expose a bot’s oauth so people could potentially steal it, i need it client side in order to reduce load on the server.

You can login to chat as justinfanXX where XX is any number between 1 and like 9000 or so. Use no password

Is this a legit way? Obviously JustinTV is “dead”.

Yes. This is what the website does too, if you open chat without being logged in.