Example for python authentication client

28 views
Skip to first unread message

Travis Painter

unread,
Aug 11, 2014, 10:29:32 PM8/11/14
to autob...@googlegroups.com
I didn't see any authentication examples for a python client. The examples on github are for javascript clients only.

There are some old wampv1 examples for a python client, but I figured that those are old enough to not apply. I am specifically looking to implement wamp-cra, but any direction would be appreciated.

Thanks, Travis


Greg Fausak

unread,
Aug 12, 2014, 12:15:50 AM8/12/14
to autob...@googlegroups.com
Please post if you find an example!
-g

Tobias Oberstein

unread,
Aug 12, 2014, 1:10:25 PM8/12/14
to autob...@googlegroups.com
Travis,
There wasn't an example since a couple of bits in AutobahnPython itself
were missing.

I now implemented the latter and added an example:

https://github.com/tavendo/AutobahnPython/blob/master/examples/twisted/wamp/authentication/wampcra/client.py

This is only in the repo on master branch right now.

Caution: this is beta .. I need to look through this thoroughly. Will be
in the next Autobahn release definitely.

Cheers,
/Tobias


>
> Thanks, Travis
>
>
> --
> 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/db2ef25a-8a0a-4c22-93e4-4434262d9476%40googlegroups.com
> <https://groups.google.com/d/msgid/autobahnws/db2ef25a-8a0a-4c22-93e4-4434262d9476%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.

Travis Painter

unread,
Aug 12, 2014, 4:23:31 PM8/12/14
to autob...@googlegroups.com
Thank you for your quick work. I am glad that I was having issues because not all of the code paths were in the api. That means that I wasn't just overlooking it!

I'll try it out and report back if I have any issues.

Travis

Reply all
Reply to author
Forward
0 new messages