hapijs / nes

WebSocket adapter plugin for hapi routes
Other
502 stars 87 forks source link

How to authenticate only specific routes? #266

Closed thailan closed 5 years ago

thailan commented 5 years ago

I dont want to authenticate users on connection , but cant use "Authentication" header in client.request() . How can I achieve authentication only specific routes. Long story short I want to connect users to chat but not let them post message without authentication. Sorry for my english. Have a nice day

hueniverse commented 5 years ago

You need to re-authenticate the connection or close it a reconnect.

lock[bot] commented 4 years ago

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.