1 <form method="post" action="https://login.salesforce.com/services/oauth2/token"> 2 <input type="hidden" name="grant_type" value="authorization_code"/> 3 <table> 4 <tr> 5 <td> 6 GENERATED CODE 7 </td> 8 <td> 9 <input type="text" name="code" /> 10 </td> 11 </tr> 12 <tr> 13 <td> 14 CONSUMER KEY 15 </td> 16 <td> 17 <input type="text" name="client_id" value=""/> 18 </td> 19 </tr> 20 <td> 21 CONSUMER SECRET 22 </Td> 23 <td> 24 <input type="text" name="client_secret" value=""/> 25 </td> 26 </tr> 27 <tr> 28 <td> 29 REDIRECT URL 30 </td> 31 <td> 32 <input type="text" name="redirect_uri" value="http://localhost/oauthsample/tokenprint.php"/> 33 </td> 34 </tr> 35 </table> 36 <input type="submit" /> 37 </form>