7

I'm trying to create Parse apps on the fly and use the keys while building my Android application. The API works great except for one point, it does not return the Client Key.

{
"appName": "my new app",
"dashboardURL": "https://www.parse.com/apps/my-new-app--30",
"applicationId": "oQqMyipkIgxYFXRROYTZsREfTcXp770awB1yMVrs",
"javascriptKey": "XAPZ7DoZHQIhMC8vPqN1m79wRIQyIXv7tmVIHmRs",
"windowsKey": "ZsyfFr0WtaQx6tsCokNSmTvjd05QCbCbMLzpChvP",
"webhookKey": "LyXnWJ3tRH56gK19KC1fjTvoUbdSUZoXhyO6khoT",
"restKey": "dzpdzYNkts2xZxPDVe7qC298Z20oIXhLJAPuY2Dw",
"masterKey": "0M2uUDZdKa1KYC1VBrmDaGK3chBaUMw0c2M4XXw1",
"clientPushEnabled": true,
"clientClassCreationEnabled": true,
"requireRevocableSessions": true,
"revokeSessionOnPasswordChange": true
}

And I need the client key as mentioned in the Android API:

Parse.initialize(this, "YOUR_APP_ID", "YOUR_CLIENT_KEY");

I have tried toggling the flags in vain.

What should I do inorder to access the Client Key?

Edit:

I'm talking about the Client Key which appears here: http://postimg.org/image/f76lj6xcr/

14
  • 1
    does that define a new client, or is it still the same client? (in which case the client key is the same)
    – njzk2
    Jun 12, 2015 at 13:27
  • It is for the same client. I'm not using Parse Objects, I'm just using the Create + Push API. Jun 12, 2015 at 13:30
  • 1
    then you probably already have the client key?
    – njzk2
    Jun 12, 2015 at 13:31
  • 2
    to be clear: when you create an app, you receive the javascript key, which is used for calls from a JS client, and the windows key, which is used for calls from a heavy client, but not the clientkey, which is used for calls from a mobile app (that's a crappy name, it is totally confusing)
    – njzk2
    Jun 12, 2015 at 13:39
  • 1
    Thank god we are now on the same page and you understood my question. I have posted in their Google forum. Awaiting someone's response there as well. Jun 12, 2015 at 18:03

1 Answer 1

0

This was a minor bug in the Parse REST API. They fixed it within 48 hours after reporting.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.