<form action="get_access_token_redirect.php" method="POST">
    Consumer Key:<input type="text" name="consumer_key" required /></br>
    Consumer Secret:<input type="text" name="consumer_secret"  required/></br>
    <input type="submit" value="Get Token">
</form>