Connect using Auth token

Hello Team,

I am connecting to my WAMP server using provided in startup guide example. Only change I am doing is I need to pass authentication token(bareer token) to server for connect I am not sure how to pass that and because of that I am facing issue while connect it self it Immediately disconnect.

any help is appreciated.


not sure, HTTP bearer tokens usually are transmitted in custom HTTP headers. If that is the case here, then what you want is having AutobahnJava forward your custom HTTP headers when establishing the WebSocket/HTTP connection (presumably so that you backend web infra can process that), right?

1 Like