You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, I've spent a few hours debugging how to allow non-authenticated users to subscribe to the uri, and allow authenticated users (AuthenticationManager+WampCraAuthProvider) to publish messages to the same uri in the same realm.
if (!$this->realmHasAuthProvider($realm->getRealmName())) {
With this change in place, the setup works as expected. PHPUnit shows the same output: Tests: 139, Assertions: 608, Errors: 6, Failures: 23, Skipped: 2
The text was updated successfully, but these errors were encountered:
So, I've spent a few hours debugging how to allow non-authenticated users to subscribe to the uri, and allow authenticated users (
AuthenticationManager
+WampCraAuthProvider
) to publish messages to the same uri in the same realm.AuthorizationManager
rules:Is this maybe incorrect?
Thruway/src/Authentication/AuthenticationManager.php
Lines 225 to 235 in b82fed2
Based from the comment, it should be negated as:
With this change in place, the setup works as expected. PHPUnit shows the same output:
Tests: 139, Assertions: 608, Errors: 6, Failures: 23, Skipped: 2
The text was updated successfully, but these errors were encountered: