title: App to work with Google Apps Marketplace and Google Account
body: <p>How do I get my application to work with the Google APIs for both Google Apps Marketplace and non-Apps Google Account users using OpenID and Oauth? (AuthSub is no longer supported by Google Apps)</p>
  
  <p>Error I have experienced:</p>
  
  <pre><code>Token invalid - Invalid token: ACL not found for domain: 358xxxxxxxxx and consumer: 736xxxxxxxxx
  </code></pre>
  
  <hr>
  
  <p><strong>Solution:</strong></p>
  
  <p>I had to learn to wrap my head around Google Marketplace. I created 3 apps (dev/localhost, staging, live) and reference the necessary keys. <strong>This error was because I was using the wrong key with the domain.</strong></p>