session establishment parameters v2

#1

Can I pass parameters during the initial session creation?

I don’t think that wampcra is available at this time. However, my initial connection to autobahn is done after I have already authenticated on a https:/// connection. I’m thinking that I can generate a ticket and pass that ticket to the session creation. I’ll give it a second or two ttl, I’ll check for the ticket, if it exists then I have the identity of the person establishing a connection via web socket.

I think this fits in to basic wamp, upon the connection establishment:

https://github.com/tavendo/WAMP/blob/master/spec/basic.md#session-establishment

a WELCOME is returned if the connection is established. An ABORT can be returned to deny the session establishment.

can I add authmethods?

-g

0 Likes