Skip to content

docs: php hint for using master key for requests#881

Closed
cyb3rko wants to merge 3 commits intoparse-community:gh-pagesfrom
cyb3rko:php-master-key-note
Closed

docs: php hint for using master key for requests#881
cyb3rko wants to merge 3 commits intoparse-community:gh-pagesfrom
cyb3rko:php-master-key-note

Conversation

@cyb3rko
Copy link
Contributor

@cyb3rko cyb3rko commented Jun 29, 2022

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?

@dblythy
Copy link
Member

dblythy commented Jun 30, 2022

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

@cyb3rko
Copy link
Contributor Author

cyb3rko commented Jul 1, 2022

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

@cyb3rko
Copy link
Contributor Author

cyb3rko commented Jul 24, 2022

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

@cyb3rko cyb3rko closed this by deleting the head repository Jan 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants