from the documentation i remember that there is the special role “anonymous” reserved for unauthenticated clients. Now how do i call a procedure as an unauthenticated client? As i see it any client gets an authenticate challenge as soon as it connects to crossbar before being able to join a realm and call any procedure.
Why do i need this? I would like to use crossbar in combination with an existing token based authentication service. Right know a client can authenticate using a (username, password) combination over a HTTP REST endpoint on the token service to get a token. To authenticate in crossbar the client uses the token it got earlier when asked by crossbar for the challenge (internally the crossbar authenticator module then asks the token service if the token is valid).
Now it would be much nicer to have a “login” procedure directly available through crossbar using wamp. Therefore i would like to configure a procedure that can be called by the “anonymous” role. I already setup the crossbar config for this, but as soon as a client connects to crossbar it is asked to authenticate long before it can call a “login” procedure.
How do i do this? There is not really a point in having the ability to set permissions for calling a procedure for an unauthenticated user if no one can call the procedure before authentication.