Example for python authentication client

#1

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

0 Likes

#2

Please post if you find an example!
-g

···

On Monday, August 11, 2014 9:29:32 PM UTC-5, Travis Painter wrote:

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

0 Likes

#3

Travis,

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.

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

···

Am 12.08.2014 04:29, schrieb Travis Painter:

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.

0 Likes

#4

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

0 Likes