title: How to integrate Parse with third party user authentication service?
body: <p>I am building a mobile app in which the users need to be authenticated via TrueVault which is a HIPAA compliant data store. TrueVault offers a REST API and generate an access token post basic authentication. They have endpoints to check token validity etc too. </p>
  
  <p>We need to do 2 things:</p>
  
  <p>1) Authenticate all users via TrueVault and store the auto generated TrueVault id in Parse to facilitate data mapping.</p>
  
  <p>2) Setup an interceptor in Parse which verifies the access token with TrueVault before serving any protected resource.</p>
  
  <p>What would be the simplest and most efficient way to implement the above? I have gone through the tutorial to add Third Party oAuth to the mobile apps, but TrueVault does not have oAuth in place yet and thus needs authorization requests via Basic Auth only. Also, would we need Cloud Code for the above or Custom Web Hooks? </p>
  
  <p>Thanks
  Sameer</p>