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
To use custom headers, I added the header name to a constant named DEFAULT_ALLOWED_HEADERS within middleware.js and wrote on the client side this code: Parse.CoreManager.set('REQUEST_HEADERS', {"custom_token": "1234"});
It would be helpful if there would be a same way to access the request header within the Parse.Cloud.onLiveQueryEvent handler.
The current parameter are event, sessionToken, clients, client, subscriptions, error and I've already tried to change it manually within triggers.js and Parse.Cloud.js.
Edit: I've seen this issue, thats exactly what I need, but it seems like it wasnt commited - any clues why?
The text was updated successfully, but these errors were encountered:
I am trying to create a custom authorization within the header when accessing the LiveQueryServer, especially when connecting.
Within webhooks I can get the request headers like that
To use custom headers, I added the header name to a constant named
DEFAULT_ALLOWED_HEADERS
within middleware.js and wrote on the client side this code:Parse.CoreManager.set('REQUEST_HEADERS', {"custom_token": "1234"});
It would be helpful if there would be a same way to access the request header within the Parse.Cloud.onLiveQueryEvent handler.
The current parameter are
event, sessionToken, clients, client, subscriptions, error
and I've already tried to change it manually within triggers.js and Parse.Cloud.js.Edit: I've seen this issue, thats exactly what I need, but it seems like it wasnt commited - any clues why?
The text was updated successfully, but these errors were encountered: