I tried to setup authentication on a nodejs in crossbar with a javascript frontend and get:
WebSocket transport send [1,"MyApp",{"roles":{"caller":{"features":{"caller_identification":true,"progressive_call_results":true}},"callee":{"features":{"progressive_call_results":true}},"publisher":{"features":{"subscriber_blackwhite_listing":true,"publisher_exclusion":true,"publisher_identification":true}},"subscriber":{"features":{"publisher_identification":true}}},"authmethods":["wampcra"],"authid":"Tester"}] autobahn-0.9.5.min.js:33 WebSocket transport receive [3,{"message":"authentication using method 'wampcra' denied by configuration"},"wamp.error.not_authorized"]
I tried to setup authentication on a nodejs in crossbar with a javascript frontend and get:
WebSocket transport send [1,"MyApp",{"roles":{"caller":{"features":{"caller_identification":true,"progressive_call_results":true}},"callee":{"features":{"progressive_call_results":true}},"publisher":{"features":{"subscriber_blackwhite_listing":true,"publisher_exclusion":true,"publisher_identification":true}},"subscriber":{"features":{"publisher_identification":true}}},"authmethods":["wampcra"],"authid":"Tester"}] autobahn-0.9.5.min.js:33 WebSocket transport receive [3,{"message":"authentication using method 'wampcra' denied by configuration"},"wamp.error.not_authorized"]
My clientcode:
My config.json
My server code:
In the console i can read: