title: Meteor js api for moblie platforms
body: <p>We have a project where we running Meteor as web front-end and we have PHP+nginx at another port for api calls from mobile platforms.</p>
  
  <p>Meteor and PHP backend are connected to general mongo database.</p>
  
  <p>Meteor doesn't sent to server plain password while authorization and registration and uses Secure Remote Password protocol.</p>
  
  <pre><code>Meteor.loginWithPassword(user, password, [callback])
  </code></pre>
  
  <p>cannot be used at server</p>
  
  <p>How to create web service that can register/authorize and give tokens to mobile client that can be used for authorization?</p>