{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/96f078cb0ee185ca90acf62cffeae8ce?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"96f078cb0ee185ca90acf62cffeae8ce","url":"https://api.github.com/users/nambad","login":"nambad","id":1058923},"milestone":null,"updated_at":"2011-11-10T07:15:48Z","labels":[],"assignee":null,"closed_at":null,"comments":4,"url":"https://api.github.com/repos/LearnBoost/socket.io/issues/631","body":"I am pretty much confused with the authorization in socket io.\r\n\r\nI want to implement some way in which i am able to know that the client is a genuine one and not a spoofer. How can i do that???\r\n\r\nCan i transfer a self generated key along with the handshake or socket.connect method???","html_url":"https://github.com/LearnBoost/socket.io/issues/631","title":"Authorization in Socket IO","number":631,"id":2183519,"created_at":"2011-11-09T06:23:02Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/96f078cb0ee185ca90acf62cffeae8ce?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"96f078cb0ee185ca90acf62cffeae8ce","url":"https://api.github.com/users/nambad","login":"nambad","id":1058923},"updated_at":"2011-11-10T07:15:48Z","url":"https://api.github.com/repos/LearnBoost/socket.io/issues/comments/2692258","body":"Btw Can someone tell me how can i set multiple origins in the set origin parameter?? \r\n\r\nThis is the part of output when i log the socket object\r\n\r\n  settings: \r\n   { origins: '*http://192.168.100.92*,*http://localhost*',\r\n     log: true,\r\n     store: { options: undefined, clients: {}, manager: [Circular] },\r\n     logger: { colors: true, level: 3, enabled: true },\r\n\r\n\r\n\r\nAnd this is what I get when i try to connect\r\n   warn  - illegal origin: http://192.168.100.92\r\n\r\n\r\nWonder why it is happening like this. It should accept the connections from this origin. The code works fine when allowed with all origins\r\n","id":2692258,"created_at":"2011-11-10T07:15:48Z"}}