Click here to Skip to main content
15,881,424 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I have a project i built using MVC, i want to able to access the application via adfs authentication, i have read a couple of stuffs on how to achieve this but no joy yet!

having this error:

HTML
•Activity ID: 00000000-0000-0000-b5cc-0480020000eb
•Error time: Tue, 28 Nov 2017 16:33:28 GMT
•Cookie: enabled
•User agent string: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.3; 
WOW64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 
2.0.50727; .NET CLR 3.0.30729; Tablet PC 2.0)


and this was the url while trying to access the application:
HTML
https://Removed/adfs/ls/?ReturnUrl=%2f    


I haven't worked with ADFS before and the error message is not explicit enough to guide, i will appreciate any assistance.

What I have tried:

I generated machine using iis machine key tool, add the following line of codes to the config file:

HTML
<pre><machineKey validationKey ="93D05346B46FD7BBB26002D0ADE91869729F11883668BFB65DB32449
A5DC880B709F7377EDD4FC47178EFF11F59A578605BFD93C077" 
decryptionKey="6ECD77045F376D9763D74B4D3DC64FE33D1E231D" 
validation="SHA1" decryption="AES" /> 
  <compilation targetFramework="4.5" />
  <httpRuntime targetFramework="4.5" />
 <authentication mode="Forms">
 <forms name=".ASPXAUTH" loginUrl="https://fs.removed.com.ng/adfs/ls/" 
defaultUrl="http://removed/" slidingExpiration="false" 
timeout="12000" requireSSL="true" protection="All" path="/" />
</authentication>
Posted

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