Cookie authentication: where are the examples or docs?

#1

Hi,

Hopefully self-explanatory. We wish to implement wamp based authentication. The web client in this case already has a cookie set by the web server on login, before making the wamp calls. How can we authenticate against this cookie? We have a crossbar-autobahn-python backend. Alternatively, if there are no examples, is there anything current we can read?

regards

ralph.

0 Likes

#2

Hi,

Hopefully self-explanatory. We wish to implement wamp based
authentication. The web client in this case already has a cookie set by
the web server on login, before making the wamp calls. How can we
authenticate against this cookie? We have a crossbar-autobahn-python

By using a custom, dynamic authenticator that reads the cookie, does it's verify thing, and returns authid/authrole under which the client should be given access to WAMP.

backend. Alternatively, if there are no examples, is there anything
current we can read?

I'm afraid there is none fitting your exact use case.

Rgd. dynamic authenticators:

https://github.com/crossbario/crossbarexamples/tree/master/authenticate/wampcradynamic/python
http://crossbar.io/docs/WAMP-CRA-Authentication/

Essentially, Crossbar.io will call your custom WAMP procedure to authenticate _other_ WAMP sessions.

And the arguments to the call include transport level info like cookies.

ยทยทยท

Am 25.05.2015 um 06:14 schrieb ralph stone:

regards
ralph.

--
You received this message because you are subscribed to the Google
Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to autobahnws+...@googlegroups.com
<mailto:autobahnws+...@googlegroups.com>.
To post to this group, send email to autob...@googlegroups.com
<mailto:autob...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/autobahnws/00c6b974-2f1a-415b-87cd-2f06c233e1e4%40googlegroups.com
<https://groups.google.com/d/msgid/autobahnws/00c6b974-2f1a-415b-87cd-2f06c233e1e4%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

0 Likes