voryx / Thruway

PHP Client and Router Library for Autobahn and WAMP (Web Application Messaging Protocol) for Real-Time Application Messaging
MIT License
676 stars 118 forks source link

Server erroneously reports it is only broker not dealer #284

Closed 0Kills closed 4 years ago

0Kills commented 6 years ago

When using authentication the server replies to clients with roles: broker but does not include the dealer role. Overriding clients to force them to make calls works fine, but most will not even attempt a call unless the server replies with dealer role.

mbonneau commented 6 years ago

@0Kills Could you provide the router code that reproduces this issue. I use the simple authentication example and the router is correctly responding with the roles:

  {
    "roles": {
      "broker": {
        "features": {
          "subscriber_blackwhite_listing": true,
          "publisher_exclusion": true,
          "subscriber_metaevents": true
        }
      },
      "dealer": {
        "features": {
          "caller_identification": true,
          "progressive_call_results": true
        }
      }
    }
  }
mbonneau commented 4 years ago

I believe this is corrected in the latest release by the WelcomeMessage priority fix. Please open a new issue if it is not.