Azure AD v1 Authentication Request Test Page

Q

How to build an Azure AD v1.0 Authentication Request Test page?

✍: FYIcenter.com

A

The Authentication Request is the first call to the Azure AD service. You can build a simple Web form page to test different behavior of the Authentication Request.

Here is an example, Azure-AD-Authentication-Request-Test.html:

<html><body><h3>Azure AD Authentication Request Test</h3>
<form method="GET" 
   action="https://login.microsoftonline.com/common/oauth2/authorize">
client_id: <input size="80" name="client_id"
   value="bd51d56c-e744-4a58-91e1-9afd0d7e821c"><br/>
redirect_uri: <input size="80" name="redirect_uri"
   value="http://fyicenter.com/openID_receiver.php"><br/>
scope: <input name="scope" value="openid"><br/>
response_type: <input name="response_type" value="id_token"><br/>
response_mode: <input name="response_mode" value="form_post"><br/>
nonce: <input name="nonce" value="xxxxxx"><br/>
state: <input name="state" value="yyyyyy"><br/>
<br/>
<input type="Submit" name="Submit" value="Submit"><br/>
</form>
</body></html>

Upload this page to your Web server, and view it from a Web browser, you see the test form displayed:
Azure AD - OpenID Connect Test Page

You can enter your own client_id, redirect_uri and other parameters to try it.

 

Dump Azure AD v1 Authentication Response

Azure AD v1 Error: Invalid Reply URL

Azure AD Integration v1.0

⇑⇑ OpenID Tutorials

2019-01-14, 516👍, 0💬