Socket Add Slot Token Mu

Apr 05, 2001  A slot based design mounts the CPU onto a small PCB which is then inserted into a slot, much like a PCI card. Socket based designs have a mounting. Oct 14, 2017 Token based Websocket Authentication At my day job, i had to implement websockets and thus authentication of the websocket connection came up. There were two different types of clients but, the authentication for browser client was the biggest headache.

Join GitHub today

GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Sign upSocket Add Slot Token Mu New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments

commented May 22, 2017

You want to:

  • report a bug
  • request a feature

Current behaviour

socket.handshake.query currently allows data to be set on connect, but cannot be updated by reference before reconnect is fired. This causes trouble when authorizing a socket connection with refresh tokens.

Steps to reproduce (if the current behaviour is a bug)

If the server is restarted and clients reconnect, the token might be outdated when re-authorizing the socket.

Expected behaviour

Allow query to be a function:

Setup

  • socket.io version: 2.0.1

How to fix

In current Socket constructor:

Can be changed to this:

Slot Token Tf2

commented May 26, 2017

+1
fix for bug #1086 should also solve your problem. Changing query options after successful connection was working with older socket.io-client version, but with current version the reference to query object get lost :(

Socket

commented May 31, 2017

@reeltimedoktor currently you should be able to update the query object on reconnect_attempt event:

Socket Add Slot Token Mu 2017

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Comments are closed.