Tools, FAQ, Tutorials:
Azure AD v2 Access Token Request Test Page
How to build an Azure AD 2.0 Access Token Request Test page?
✍: FYIcenter.com
The Access Token Request is the second call to the Azure AD service
in the authentication code flow to retrieve the id_token
with the authentication code received from the first call.
You can build a simple Web form page to test different behavior of the Access Token Request.
Here is an example, Azure-AD-2-Access-Token-Request-Test.html:
<html><body><h3>Azure AD OpenID Connect Access Token Test</h3> <form method="POST" action="https://login.microsoftonline.com/common/oauth2/v2.0/token"> client_id: <input size="80" name="client_id" value="bd51d56c-e744-4a58-91e1-************"><br/> code: <input name="code" size="80" value="OAAABAAAAiL9Kn2Z27UubvWFPbm0gLWQJVzCTE9UkP3pSx1aXxUjq3n8b2JRLk4OxVXr"><br/> redirect_uri: <input size="80" name="redirect_uri" value="http://fyicenter.com/openID_receiver.php"><br/> grant_type: <input name="grant_type" value="authorization_code"><br/> client_secret: <input name="client_secret" value="JqQX2PNo9bpM0uEihUPzyrh"><br/> <br/> <input type="Submit" name="Submit" value="Submit"><br/> </form> </body></html>
You can enter your own "client_id", "code", "redirect_uri" and other parameters to try it. Remember that "code" value must obtained by calling the authentication response.
⇒ Build Authorization Code Flow with Azure AD v2
2019-03-27, 1161🔥, 0💬
Popular Posts:
How to use the XML to JSON Conversion Tool at freeformatter.com? If you want to try the XML to JSON ...
Where to find tutorials on PHP language? I want to know how to learn PHP. Here is a large collection...
How to read Atom validation errors at w3.org? If your Atom feed has errors, the Atom validator at w3...
How To Pad an Array with the Same Value Multiple Times in PHP? If you want to add the same value mul...
Where to see resource detailed information of my API Management Service on Azure Portal? Once you ha...