postman-app-support
postman-app-support copied to clipboard
Support Socket.io `auth` object
Is there an existing request for this feature?
- [X] I have searched the existing issues for this feature request and I know that duplicates will be closed
Is your feature request related to a problem?
Socket.IO docs v3+ suggest using auth object on client to send credentials that can be accessed on server like socket.handshake.auth.token
On Postman App v10.10.9 I didn't find any way to send this value using Socket.IO WebSocket request
Describe the solution you'd like
Alternatives:
- A special tab
AuthlikeHeadersorParams - A new field on
Settingstab that allows configuring theauth.tokenvalue
I'd be amazing if the new field supports the parameters replacement like {{token}}
Describe alternatives you've considered
I've considered:
- Sending auth token as
query paramorheaderand adjust the server to get the token value there. It might work, but it's not the ideal solution because it changes the server implementation to facilitate local testing and do not follow the Socket.IO official docs suggestion (using theauthobject on client). - Using Postman "pure"
WebSocket Requestas suggested in Socket.IO GitHub discussion: https://github.com/socketio/socket.io/discussions/4072#discussioncomment-1275380. It doesn't require any changes on server but we lose Postman exclusive features onSocket.IO WebSocket Request
Additional context
No response
Really needed :(
implementing this would be great +1
I don't have no problem and take this seriously. Just give me some time.
Really needed. It would be great if this was implemented
any updates on this?
@codenirvana Any updates, would love to see this implemented.
Since the functionality has not been implemented yet, is there a way to send the auth?
Anything on this???
Just switched my auth to handshake token and all my postman socketio tabs broke, any updates on this??
Any update on this? Really needed.
I would also like to have this option.