Fixes #249. This seems to be working just fine but I may be missing something.
Guy lets fix this please. This is a very important feature.
Send extra data while authentication
I've encountered the same problem, and made the exact same corrections down to the letter before I noticed this PR. Can confirm it works.
@jrocketfingers building guide is incomplete and outdated, I had very hard time building the library. I'll probably make a PR with new building instructions.
I've already done the modifications manually, but thanks 👍 Looking forward to those build instructions.
By the way, since we're on the topic: I haven't utilized authrole just yet, but it seems to be an argument in ApplicationSession.join in autobahn-python. Would it make sense to pass it too? Perhaps if a single component could be authenticated for multiple roles it could represent the preferential role.
@jrocketfingers yeah, it seems to me that 'authrole' may be useful while authentication too but it should be discussed in a separate issue.
Are there any updates on this? I'd be alright if I could at least build the library.
Sorry for sluggish responsive .. looks good! Thanks for contributing!
@oberstet can we please have a release? Thank you!
The authrole is normally assigned automatically by the router when the authentication was successful. Generally, a WAMP client may also request a specific authrole, but the router might deny that or override it.