IRC via websockets or IRC via IRC

Hi,

Right now all I am trying to do is get a POC working in the chrome Simple WebSocket client.

I think the issue is that I am not authenticating correct?

If I send:

PASS oauth:thenmyoauthtoken
it disconnects immediately

but if I send NICK justinfan123 it connects fine.

is there a different authentication mechanism for the websocket method?

thanks for your replies.