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
{{ message }}
Repository navigation
Get request headers within Parse.Cloud.onLiveQueryEvent #6779
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?
Activity
dblythy commentedon Jul 12, 2020
@maxiqsoft I am still working on cleaning up a few issues in my PR before resubmitting. Been busy. Sorry.
dblythy commentedon Jul 17, 2020
Hey @maxiqsoft, we've merged the triggers with the master branch. Hope it helps out your project!