tag:blogger.com,1999:blog-11195359.post8026163590836318077..comments2023-08-18T17:53:12.377+12:00Comments on Random thoughts and collisions: ASP : Classic ASP and ADFSnzpcmadhttp://www.blogger.com/profile/06352759009406963230noreply@blogger.comBlogger11125tag:blogger.com,1999:blog-11195359.post-30358091922423196052022-07-02T05:34:12.048+12:002022-07-02T05:34:12.048+12:00Hi, thankyou, I try to follow all your instruction...Hi, thankyou, I try to follow all your instruction but I receive:<br /><br />401 - Unauthorized: Access is denied due to invalid credentials.<br /><br />what can I have to verify?<br />best regardsLorenzonoreply@blogger.comtag:blogger.com,1999:blog-11195359.post-40705729511683658892019-04-18T23:47:59.735+12:002019-04-18T23:47:59.735+12:00Do you have a step by step for ADFS 4.0 setup???
...Do you have a step by step for ADFS 4.0 setup???<br /><br />Thanks.SamIamhttps://www.blogger.com/profile/01309504268171633055noreply@blogger.comtag:blogger.com,1999:blog-11195359.post-90491813887099097562019-04-18T23:46:42.678+12:002019-04-18T23:46:42.678+12:00Do you have a step by step for the ADFS 4.0 setup?...Do you have a step by step for the ADFS 4.0 setup???<br /><br />Thank YOU.SamIamhttps://www.blogger.com/profile/01309504268171633055noreply@blogger.comtag:blogger.com,1999:blog-11195359.post-70152191692468418532017-11-15T11:54:55.709+13:002017-11-15T11:54:55.709+13:00What I'm seeing is just the redirect to ADFS.
...What I'm seeing is just the redirect to ADFS.<br /><br />Then what happens?<br /><br />Do you see the login screen, do you authenticate, is there an error?<br /><br />What's in the ADFS event log?<br />nzpcmadhttps://www.blogger.com/profile/06352759009406963230noreply@blogger.comtag:blogger.com,1999:blog-11195359.post-47489193701690320832017-11-15T01:46:57.961+13:002017-11-15T01:46:57.961+13:00Hello nzpcmad,
We are stucked on the signin proce...Hello nzpcmad,<br /><br />We are stucked on the signin process, is it supposed to return to the default.asp or <br /><br /><br />There are two servers application with ADFS and the URL we're calling is:<br /><br />https://application/Teste<br /><br />and the browser is redirecting to:<br /><br />https://ADFS/?wa=wsignin1.0&wtrealm=https%3a%2f%2fapplication%2fTeste%2f&wctx=rm%3d0%26id%3dpassive%26ru%3d%252fTeste%252ftest.asp&wct=2017-11-14T12%3a33%3a19Z<br /><br />but it doesn't show the default.asp<br /><br />here is a pastebin with the log<br /><br />https://pastebin.com/Qza5PjCDTaviohttps://www.blogger.com/profile/07555099997516337954noreply@blogger.comtag:blogger.com,1999:blog-11195359.post-27520020540866283002017-11-15T01:46:05.871+13:002017-11-15T01:46:05.871+13:00Hello nzpcmad,
We are stucked on the signin proce...Hello nzpcmad,<br /><br />We are stucked on the signin process, is it supposed to return to the default.asp or <br /><br /><br />There are two servers application with ADFS and the URL we're calling is:<br /><br />https://application/Teste<br /><br />and the browser is redirecting to:<br /><br />https://ADFS/?wa=wsignin1.0&wtrealm=https%3a%2f%2fapplication%2fTeste%2f&wctx=rm%3d0%26id%3dpassive%26ru%3d%252fTeste%252ftest.asp&wct=2017-11-14T12%3a33%3a19Z<br /><br />but it doesn't show the default.asp<br /><br />here is a pastebin with the log<br /><br />https://pastebin.com/Qza5PjCDTaviohttps://www.blogger.com/profile/07555099997516337954noreply@blogger.comtag:blogger.com,1999:blog-11195359.post-45730462642834469412017-07-19T06:53:42.645+12:002017-07-19T06:53:42.645+12:00Yes - WIF was only integrated in .NET 4.5.
Only w...Yes - WIF was only integrated in .NET 4.5.<br /><br />Only web.config - no code.<br />nzpcmadhttps://www.blogger.com/profile/06352759009406963230noreply@blogger.comtag:blogger.com,1999:blog-11195359.post-32019332521467843532017-07-18T21:14:15.351+12:002017-07-18T21:14:15.351+12:00If I have ASP.net 4.0 installed on my Windows 2008...If I have ASP.net 4.0 installed on my Windows 2008 server, do I need to install WIF separately ? <br />Is this only a configuration of web.config ? Is there coding to be done in my classic ASP page ? Satyahttps://www.blogger.com/profile/03019429563181254882noreply@blogger.comtag:blogger.com,1999:blog-11195359.post-82456016800562329552017-03-21T07:33:09.192+13:002017-03-21T07:33:09.192+13:00Just did this for a project and remembered you ask...Just did this for a project and remembered you asked for more details. I used WIF but the details are similar.<br /><br />This is for ADFS 4.0.<br /><br />The line in the web.config looks like:<br /><br />wsFederation passiveRedirectEnabled="true" issuer="https://my-adfs/adfs/ls/" realm="https://my-pc/TestAppADFS/" requireHttps="true"<br /><br />Create RP manually.<br /><br />No encryption.<br /><br />Use WS-Fed.<br /><br />RP WS-FED URL is https://my-pc/TestAppADFS/ as per realm above. Note the trailing slash.<br /><br />RP trust identifier is automatically filled in.<br /><br />Permit everyone.<br /><br />Review, save and you are done!<br /><br /><br /><br />nzpcmadhttps://www.blogger.com/profile/06352759009406963230noreply@blogger.comtag:blogger.com,1999:blog-11195359.post-40165747803540370312017-03-03T06:49:56.834+13:002017-03-03T06:49:56.834+13:00It's just a standard WIF setup. You can do it ...It's just a standard WIF setup. You can do it manually. Just match the identifier.<br /><br />There is no WIF support in ASP so there;s no certificates to configure and there's no point in configuring any claims rules since ASP has no way to enumerate the token.<br />nzpcmadhttps://www.blogger.com/profile/06352759009406963230noreply@blogger.comtag:blogger.com,1999:blog-11195359.post-7821518891228452492017-03-02T15:26:53.862+13:002017-03-02T15:26:53.862+13:00Hi Are you able to provide detail around the Relyi...Hi Are you able to provide detail around the Relying Party Trust setup in ADFS?<br />CheersAnonymousnoreply@blogger.com