{"action":"created","issue":{"url":"https://api.github.com/repos/adelevie/parse-ruby-client/issues/209","repository_url":"https://api.github.com/repos/adelevie/parse-ruby-client","labels_url":"https://api.github.com/repos/adelevie/parse-ruby-client/issues/209/labels{/name}","comments_url":"https://api.github.com/repos/adelevie/parse-ruby-client/issues/209/comments","events_url":"https://api.github.com/repos/adelevie/parse-ruby-client/issues/209/events","html_url":"https://github.com/adelevie/parse-ruby-client/issues/209","id":161993986,"number":209,"title":"client key shouldn't be required","user":{"login":"jlhonora","id":1577721,"avatar_url":"https://avatars.githubusercontent.com/u/1577721?v=3","gravatar_id":"","url":"https://api.github.com/users/jlhonora","html_url":"https://github.com/jlhonora","followers_url":"https://api.github.com/users/jlhonora/followers","following_url":"https://api.github.com/users/jlhonora/following{/other_user}","gists_url":"https://api.github.com/users/jlhonora/gists{/gist_id}","starred_url":"https://api.github.com/users/jlhonora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlhonora/subscriptions","organizations_url":"https://api.github.com/users/jlhonora/orgs","repos_url":"https://api.github.com/users/jlhonora/repos","events_url":"https://api.github.com/users/jlhonora/events{/privacy}","received_events_url":"https://api.github.com/users/jlhonora/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-23T18:41:05Z","updated_at":"2016-06-30T15:40:25Z","closed_at":null,"body":"As per the parse server docs:\r\n\r\n> Parse Server does not require the use of client-side keys [...] The Application ID is sufficient to secure your app.\r\n\r\n[source](https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide#keys)\r\n\r\nThis library however raises an error when the client key is not specified. How can we work around this restriction?\r\n\r\nThanks in advance."},"comment":{"url":"https://api.github.com/repos/adelevie/parse-ruby-client/issues/comments/229698716","html_url":"https://github.com/adelevie/parse-ruby-client/issues/209#issuecomment-229698716","issue_url":"https://api.github.com/repos/adelevie/parse-ruby-client/issues/209","id":229698716,"user":{"login":"rhymes","id":146201,"avatar_url":"https://avatars.githubusercontent.com/u/146201?v=3","gravatar_id":"","url":"https://api.github.com/users/rhymes","html_url":"https://github.com/rhymes","followers_url":"https://api.github.com/users/rhymes/followers","following_url":"https://api.github.com/users/rhymes/following{/other_user}","gists_url":"https://api.github.com/users/rhymes/gists{/gist_id}","starred_url":"https://api.github.com/users/rhymes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhymes/subscriptions","organizations_url":"https://api.github.com/users/rhymes/orgs","repos_url":"https://api.github.com/users/rhymes/repos","events_url":"https://api.github.com/users/rhymes/events{/privacy}","received_events_url":"https://api.github.com/users/rhymes/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T15:40:25Z","updated_at":"2016-06-30T15:40:25Z","body":"@jlhonora The ruby does not require you to provide all the keys, you can initiate it with just the application ID or whatever combination you prefer.\r\n\r\n> [11] pry(main)> client = Parse.create(application_id: 'foobar')\r\n> => #<Parse::Client:0x007f9009f53de0\r\n>  @api_key=nil,\r\n>  @application_id=\"foobar\",\r\n>  @backoff_factor=2,\r\n>  @host=\"https://api.parse.com\",\r\n>  @interval=0.5,\r\n> ...\r\n> \r\n> [13] pry(main)> client.query('_Installation').get()\r\n> I, [2016-06-30T17:39:42.196518 #84545]  INFO -- : Parse query for /installations {\"where\"=>\"{}\"}\r\n> I, [2016-06-30T17:39:42.197089 #84545]  INFO -- : get https://api.parse.com/1/installations?where=%7B%7D\r\n> I, [2016-06-30T17:39:42.690031 #84545]  INFO -- Status: 401\r\n> Parse::ParseProtocolError: : unauthorized\r\n> from /Users/rhymes/.rvm/gems/ruby-2.3.1/bundler/gems/parse-ruby-client-18c7f9952564/lib/faraday/extended_parse_json.rb:30:in `process_response'\r\n\r\nAs you can see I only get an error when I actually call the server. Do you have a traceback to provide?"}}
{"actor":{"display_login":"rhymes"}}