title: Where should the service configuration go in meteor? At the client side or at the server side?
body: <p>I'm working on a custom login-with-linkedin button. I have <code>accounts-base</code>, <code>accounts-oauth</code>, and <code>pauli:accounts-linkedin</code> packages. I have used the client id and the secret from the linkedin developers site as follows</p>
  
  <pre><code>Meteor.startup(function() {
      ServiceConfiguration.configurations.update({
          'service': 'linkedin',
      },
      {
          $set: {
              'clientId': 'myClientId',
              'secret': 'mySecret'
          }
      },
      {
          upsert: true
      });
  });
  </code></pre>
  
  <p>In the iron router, I've also defined the waitOn function on /login template as follows:</p>
  
  <pre><code>this.route('login', {
      path: '/login',
      waitOn: function() {
         Accounts.loginServicesConfigured();
      }
  });
  </code></pre>
  
  <p>Now, when I click on the button, a pop-up window opens but it doesn't load the linkedin login page and it says 'ERR_CONTENT_DECODING_FAILED'.
  <a href="https://i.stack.imgur.com/rDIiY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rDIiY.png" alt="enter image description here"></a></p>
  
  <p>I have written the ServiceConfiguration in the Meteor.startup function at the client side. Am I right to write serviceconfiguration at the client side? or should I be writing it at the server side? </p>