-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated to pass masterKey for Config get request #575
Updated to pass masterKey for Config get request #575
Conversation
Thank you for your pull request. We require contributors to sign our Contributor License Agreement, and yours has expired. Before we can review or merge your code, we need you to email cla@fb.com with your details so we can update your status. |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
@brndmg updated the pull request - view changes |
6131ce2
to
e31eef2
Compare
@brndmg updated the pull request - view changes |
I also have this issue with the Jobs store, even though it isn't functional in this edition, the masterKey still needs to be passed to avoid the 401. |
I'm not sure why you would need to pass in the Master Key here. Are you not using your Master Key in the config? It should pass the Master Key every time. |
Config should be readable without the masterKey also! |
@flovilmart and @dvanwinkle You just contradicted each other. |
Sorry, I was referring to parse.com, not |
I think it was because I added a clientKey to my parse-server to be able to use it from the Android SDK. I confirmed this with curl to the parse-server. |
You can use the Client SDKs without adding the With that said, would a better solution be to accept the client keys from the config and then register those with the Node Parse SDK? |
It's hard to say. I know it is possible to avoid using the clientKey, but shouldn't the dashboard work regardless? Isn't that the point of it having the masterKey? |
I don't know the right answer. Thinking of There isn't any harm in passing the I am leaning more towards fixing all of the places this issue exists as being the right way, so, if @flovilmart agrees, I don't see any issues with merging this in, but, we should probably create and Issue regarding at least the jobs store. |
Any updates on this issue? I'm facing the same problem with |
Is the only conflict to this issue changelog? Can we get this merged in please? |
We can't get it merged as there is a conflict. |
@flovilmart now we can fix this PR's conflict here on the web and merge it. As the file is only the Changelog, it's pretty easy to do it. |
@codegefluester can we fix the conflict and merge this? Now that the Parse.com dashboard is gone, if Parse-Server has any client keys configured, the dashboard doesn’t access config data. Even though config is public, if the request from dashboard doesn’t have any key, it will fail because if the server requires at least one key. |
@brndmg updated the pull request - view changes |
Updated to pass masterKey for Config get request (parse-community#575)
I believe this will resolve #339. When the masterKey is not being passed on the FETCH, then the server is returning a 401.
I had the same issue with version 1.0.19 of the dashboard and 2.2.24 of the server.