Archive for June, 2010

I Was Wrong About Being Wrong

June 9, 2010 7 comments

So, I am still trying to tackle the problem of how to make DNN integrate with ADFS without having to write a whole new authentication system. I was able to get the ADFS redirection and authentication to work, but the ADFS authentication cookies were not being sent with the AJAX requests to the ScriptReference.AXD and WebReference.AXD. The requests were not sending the ADFS cookies with the requests and were being redirected to the authentication page.

The last solution of redirecting to a virtual directory worked but, I had a nagging feeling that this was not necessary. As it turns out, I was right. The original solution will work if you set your ADFS cookie path to “/”. The test I was running was in a virtual directory and so I set the cookie path to “/VirtualDirectory” thinking this was needed for the ADFS piece to work.

I modified my HTTP module to be configurable to run either scenario (redirected or not). I changed the ADFS cookie path and tested it and everything worked correctly.

Categories: ADFS, DNN, SiteMinder