title: How to authenticate Shopify App using Laravel 5
body: <p>I'm new to Shopify,
  I have to develop shopify app API using It's Shopify API in laravel 5.
  I have created app in my Development store, but when I am trying to install it on store it's giving authentication error.</p>
  
  <p>As per documentation when user click on install app it redirects to the application callback url with access code as <code>'code'</code> parameter in url string.
  by using this code we need to call verify request method to generate permanent Access Token.
  When I'm trying to do this shopify is redirecting me to the callback url but there is no <code>'code'</code> in list.</p>
  
  <p>I have set callback url in my app which is my localhost url converted by ngrok url (<code>http://36481603.ngrok.io</code>) by using this url I am redirecting user to my API controller where I have below code...</p>
  
  <pre><code>$sh = App::make('ShopifyAPI');
  try
  {
      $verify = $sh-&gt;verifyRequest(Input::all());
      if ($verify)
      {
           $code = Input::get('code');
           $accessToken = $sh-&gt;getAccessToken($code);
      }
      else
      {
           // Issue with data
      }
  }
  catch (Exception $e)
  {
      echo '&lt;pre&gt;Error: ' . $e-&gt;getMessage() . '&lt;/pre&gt;';
  }
  </code></pre>
  
  <p>Please provide if there is a step-by-step documentation for new app development in shopify.</p>
  
  <p>Thanks in advance.</p>