docs icon indicating copy to clipboard operation
docs copied to clipboard

docs: php hint for using master key for requests

Open cyb3rko opened this issue 3 years ago • 3 comments

While implementing the Parse PHP SDK an error occured that the requests are unauthorized even though we have specified the master key.

After digging into the PHP source code we found the optional parameter useMasterKey. But it wasn't documented anywhere so I added a note myself to the docs.

Is this okay or is there something to improve?

cyb3rko avatar Jun 29 '22 07:06 cyb3rko

Can you add some detail around how masterKey should not be stored in code and used on trusted clients only

dblythy avatar Jun 30 '22 16:06 dblythy

Sorry, I can not. I do not use the PHP SDK by myself.

cyb3rko avatar Jul 01 '22 17:07 cyb3rko

@dblythy What's the alternative to using a master key in PHP? Using client keys?

cyb3rko avatar Jul 24 '22 15:07 cyb3rko