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
We are using a presence channel and I need to some data via headers, but somehow its not reaching backend and not logging in backend logs as well, I tried sending both params and headers but none of them showed up in backend logs and due to this I am getting unauthenticated error.
Passing headers with authParams only supports AJAX.
You can use the onAuthorizor function to construct your own HTTP request, including providing the necessary headers. when specified, the onAuthorizor will be used to authorize any channel subscriptions.
Hello guys,
We are using a presence channel and I need to some data via headers, but somehow its not reaching backend and not logging in backend logs as well, I tried sending both params and headers but none of them showed up in backend logs and due to this I am getting unauthenticated error.
This is my init code on app startup
And below is my code when I try to subscribe to specific presence channel
please let me know if I am missing something here
Thanks
The text was updated successfully, but these errors were encountered: