title: Flipkart seller API access token generation issue
body: <p>I am trying to access the flip-kart seller API as i registered with Flipkart seller APIs - Developer Admin portal by following steps as given in the documentation:-</p>
  
  <p><a href="https://seller.flipkart.com/api-docs/FMSAPI.html" rel="nofollow">https://seller.flipkart.com/api-docs/FMSAPI.html</a></p>
  
  <p>After successfully registered with Flipkart as i hit the first API that is used for generate the access token, but as i hit this API via my code it will return me the login page html as response. I also tried to hit this via postman by following steps:-</p>
  
  <pre><code>1)Type of request i tried with both (GET,POST)
  2)Set appid and app-secret in the header 
  3)Use the following url:-
  https://api.flipkart.net/oauth-service/oauth/token\?grant_type\=client_credentials\&amp;scope=Seller_Api
  </code></pre>
  
  <p>The following response i get:-</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
      &lt;head&gt;
          &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
          &lt;title&gt;Flipkart&lt;/title&gt;
          &lt;link type="text/css" rel="stylesheet"
      href="./style.css" /&gt;
          &lt;link type="text/css" rel="stylesheet"
          href="./bootstrap.css" /&gt;
      &lt;/head&gt;
      &lt;body&gt;
          &lt;div class="navbar navbar-default navbar-static-top" role="navigation"&gt;
              &lt;div class="container"&gt;
                  &lt;div class="navbar-header"&gt;
                      &lt;a class="navbar-brand" href="#"&gt;Flipkart Permission Registration&lt;/a&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
          &lt;div class="container"&gt;
              &lt;form id="loginForm" name="loginForm" role="form" class="form-signin" action="login.do" method="post"&gt;
                  &lt;h2 class="form-signin-heading"&gt;Please sign in &lt;/h2&gt;
                  &lt;input type="email" class="form-control" placeholder="Email address"
              name='j_username' required="" autofocus=""&gt;
                  &lt;input type="password"  name='j_password' class="form-control"
              placeholder="Password" required=""&gt;
                  &lt;button class="btn btn-lg btn-primary btn-block" type="submit" name="login"&gt;Sign in&lt;/button&gt;
                  &lt;input type="hidden" name="CSRFToken" value="987f582b-9a4e-4c6c-a14b-681f2b57ca34"&gt;&lt;/input&gt;
              &lt;/form&gt;
          &lt;/div&gt;
      &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>i also tried with the sandbox URL they provided but same response on both cases.</p>
  
  <p>As i google this issue i found somewhere that you need to change the URL like:-</p>
  
  <pre><code>https://api.flipkart.net/oauth-service/oauth/token?grant_type=client_credentials&amp;scope=Seller_Api
  </code></pre>
  
  <p>i also tried with this but this will return the response as:-</p>
  
  <pre><code>{
    "error": "unauthorized",
    "error_description": "An Authentication object was not found in the SecurityContext"
  }
  </code></pre>
  
  <p>So finally i am unable to get access-token for flipkart seller API. Please help me 
  Any help would be appreciated 
  Thanks! </p>