I am examining a sample which is in the salesforce developer site.
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.
I dont want my application to redirect to the salesforce login page. In the existing sample the environment variable is set to,
What should I do to avoid redirecting to salesforce login page.