Click here to Skip to main content
16,017,638 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to open ADFS login page using https://<domain>/adfs/ls/idpinitiatedsignon.aspx Url in Internet Explorer. This would open ADFS login page properly but after entering my credential it gives me HTTP 400 Bad Request error. This will work fine in Chrome browser. This will also working fine from another machine in IE as well.
My ADFS server is installed on windows sever 2016.

What I have tried:

I reset all my IIS & IE's setting. Also verify certificate which added to iis.
Posted
Updated 21-Feb-20 0:40am
v2

The obvious reply is going to be not to use IE
Chris Jackson, MS CyberSecurity
Internet Explorer is a compatibility solution. We’re not supporting new web standards for it and, while many sites work fine, developers by and large just aren’t testing for Internet Explorer these days. They’re testing on modern browsers.
Reference:
The perils of using Internet Explorer as your default browser - Microsoft Tech Community - 331732[^]

Now that that has been said; you may need to work with the configurations within IE and possible with ADFS & IIS as well.

Google has a plethora of results for this and after reading a few of them it looks to be more of configuration than code. I have not had the misfortune of this problem so I do not know what will work best- We simply do not support IE.

Google Search used:
adfs authentication internet explorer[^]
 
Share this answer
 
Comments
jaideepsinh 19-Feb-20 4:50am    
We must have to use IE not any other browser so i need to fix this for IE.
MadMyche 19-Feb-20 6:49am    
Then you need to check through all of the configurations for IE, ADFS, and IIS; hoping to find the combination that will work.
Your web application should probably get some error handling installed on it so that you can find out exactly what URL is coming in to trigger the "400" message
jaideepsinh 19-Feb-20 10:06am    
I am trying to test this on AD FS default login page and also get the same error, so there is no any role of my application. And the strange thing is when i replace my domain name with IP in return Url (HTTP 400) its working fine in IE also.
My problem get resolved in IE by deselecting Enable Integrated Windows Authentication option, located at "Internet Opetions-> Advanced -> Security-> Enable Integrated Windows Authentication".
 
Share this answer
 
Comments
Michael Wigle 2021 31-Aug-21 9:31am    
I can't thank you enough for this solution! I would never have figured out to turn off Integrated Windows Authentication in IE. You saved my bacon with this solution.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900