Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot subscribe to a private or presence channel because no Authorizer has been set. Call PusherOptions.setAuthorizer() before connecting to Pusher #45

Open
rakashpal opened this issue Jan 26, 2022 · 1 comment
Assignees

Comments

@rakashpal
Copy link

PusherOptions options = PusherOptions(
host: '192.168.242.99',
wsPort: 6001,
encrypted: false,
auth: PusherAuth(
API_BASE_URL+'api/broadcasting/auth',
headers: {
'Authorization': 'Bearer '+Provider.of(context, listen: false).token,
},
),
);

@adham-ashraf77
Copy link

got any answer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants