title: App not authenticating with React-Native
body: <p>I am learning React-Native and trying to do oAuth2 authentication. I have registered my app with the service and my redirect uri. When the user clicks on the "login' button on the app, it is supposed to do the following:</p>
  
  <pre><code>onLoginPressed() {
          fetch("https://www.hackerschool.com/oauth/authorize?response_type=code&amp;client_id=("+auth.client_id+")&amp;redirect_uri=("+auth.redirect_uri+")")
            .then(response =&gt; _handleResponse(response))
            .catch(error =&gt; 
               this.setState({
                isLoading: false,
                message: 'Something bad happened ' + error
             }));
          LinkingIOS.openURL("https://www.hackerschool.com/oauth/authorize?response_type=code&amp;client_id=("+auth.client_id+")&amp;redirect_uri=("+auth.redirect_uri+")");
      }
  </code></pre>
  
  <p>However, the response is the complete html render instead of the token that bounces me back to my redirect_uri which is my app.</p>
  
  <p>Any ideas as to what I am doing wrong?</p>