What is the issue?
I've been trying to use the masterKey on the JS SDK using the info in the docs
Parse.initialize("YOUR_APP_ID", "YOUR_JAVASCRIPT_KEY", "YOUR_MASTERKEY");
and didn't work.
Can you propose a solution?
I did find this https://stackoverflow.com/questions/40223311/parse-js-sdk-cannot-use-the-master-key-it-has-not-been-provided
where states This actually works with browser SDK. The nodejs version requires the normal initialization
no idea what browser SDK means...
the solution in StackOverflow worked for me
Parse.initialize(process.env.PARSE_APP_ID)Parse.masterKey = process.env.PARSE_SERVER_MASTER_KEY
Link to section: https://docs.parseplatform.org/js/guide/
What is the issue? I've been trying to use the masterKey on the JS SDK using the info in the docs
Parse.initialize("YOUR_APP_ID", "YOUR_JAVASCRIPT_KEY", "YOUR_MASTERKEY");
and didn't work. Can you propose a solution? I did find this https://stackoverflow.com/questions/40223311/parse-js-sdk-cannot-use-the-master-key-it-has-not-been-provided where states This actually works with browser SDK. The nodejs version requires the normal initialization no idea what browser SDK means... the solution in StackOverflow worked for meParse.initialize(process.env.PARSE_APP_ID)
Parse.masterKey = process.env.PARSE_SERVER_MASTER_KEY