title: Salesforce REST API Login?
body: <p>I am examining a sample which is in the salesforce developer site. </p>
  
  <p>In that sample when we click a link it will be redirected to the salesforce login page. If the  login successful, then an access token is issued. </p>
  
  <p>I dont want my application to redirect to the salesforce login page. In the existing sample the environment variable is set to,</p>
  
  <blockquote>
    <p>"https://login.salesforce.com"</p>
  </blockquote>
  
  <p>What should I do to avoid redirecting to salesforce login page.</p>