Master-key in push via rest requests?
I noticed that now for push I need to use/have the master key in my request. This was not necessary with Parse.com (https://parse.com/docs/rest/guide#push-notifications-sending-pushes).
This is also inconsistent with the rest of the REST api (https://parse.com/docs/rest/guide).
I stumbled upon this when testing my python REST code with my parse-server (running on Heroku).
Except for Push I did not need to change my code to use Master Key.
Is there a reason for this?
running latest parse-server-example (which uses parse-server 2.2.2)
For implementation related questions or technical support, please refer to the Stack Overflow and Server Fault communities.
Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!
- [y] You've met the prerequisites.
- [y] You're running the latest version of Parse Server.
- [y] You've searched through existing issues. Chances are that your issue has been reported or resolved before.
Environment Setup
Steps to reproduce
Logs/Trace
Parse.com had various levels of authorization... The REST API key could send Push, and if client push was enabled, so could other keys... With Parse Server I felt we had the ability to revisit some decisions, and this was one area which could be simplified. Client keys aren't necessary, and you're either the master key or you're not. Push is a channel you want to strictly control, and it makes sense to keep it behind the master key.