title: Problems using Wechat auth
body: <p>I recently tried to use Wechat authentication for my hybrid mobile app (built with Ionic Framework) but haven't had much success. I signed up for a developer account and obtained an AppId and AppKey. I then fired off the request, and was redirected to my native Wechat app, but reached a page with an error message "Oops! Something went wrong". I also tried firing a get request via Postman like:</p>
  
  <p><a href="https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&amp;appid=yy8f70a5c5a0971111&amp;secret=99999ed33fe7c954bc672630afb7xxxx" rel="nofollow">https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&amp;appid=yy8f70a5c5a0971111&amp;secret=99999ed33fe7c954bc672630afb7xxxx</a></p>
  
  <p>but received an error:</p>
  
  <p>{
      "errcode": 50001,
      "errmsg": "user unauthorized"
  }</p>
  
  <p>Would anyone have an idea? Thanks!</p>
  
  <p>By the way, this is the Wechat plugin that I'm using:</p>
  
  <p><a href="https://github.com/xu-li/cordova-plugin-wechat-example" rel="nofollow">https://github.com/xu-li/cordova-plugin-wechat-example</a></p>