Tools, FAQ, Tutorials:
Authentication Response Received from Azure AD v1
How to process the authentication response received from Azure AD v1.0 service after sending a sign-on authentication request?
✍: FYIcenter.com
After Azure AD v1.0 service receives a sign-on authentication request
from the end user's Web browser, it will process the request and
redirect the Web browser to the "redirect_uri" with the sign-on
authentication response.
This invoke your server side script located at the "redirect_uri". In order for your script to process the sign-on authentication response, you need to have a good understanding of the authentication response.
Here is an example of Azure AD sign-on authentication response, returned with "response_mode=form_post" and "response_type=id_token" in your authentication request:
POST / HTTP/1.1 Content-Type: application/x-www-form-urlencoded id_token=eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Ik1uQ19WWmNB... &state=yyyyyy
The "id_token" value is actually a RFC 7519 - JWT (JSON Web Token) string.
If there is any issue with the authentication, you will receive an error response like this:
POST / HTTP/1.1 Content-Type: application/x-www-form-urlencoded error=access_denied &error_description=the+user+canceled+the+authentication
If a good response is received, your server side script should parse the end user login information and open your Web application to the end user.
If an error response is received, your server side script should display an error Web page to the end user.
⇒ Azure AD v1 Error: Invalid Reply URL
2022-05-01, ∼1858🔥, 0💬
Popular Posts:
How to use the "Ctrl-p Ctrl-q" sequence to detach console from the TTY terminal of container's runni...
What is EPUB 3.0 Metadata "dc:description" Element? EPUB 3.0 Metadata "dc:description" is an optiona...
How to how to use matched string and groups in replacements with re.sub()? When calling the re.sub()...
How To Break a File Path Name into Parts in PHP? If you have a file name, and want to get different ...
How to create a "Sign-up or Sign-in" user flow policy in my Azure AD B2C directory? If you want to b...