The goal of this project is to have single sign-on for several web sites, 1 is DNN and 4 are Non-DNN. Today we use WIF (Windows Identity Foundation) to authenticate and then pass that authentication to the 4 Non-DNN sites. This is in production today and was fairly easy to implement. The way it works today it if a user goes to one of our 4 non-DNN sites, if they are not authenticated they are rerouted back to our Single sign-on STS page (This is automatic, it’s part of WIF).
Now we want to put a DNN site into our Single sign-on (already built in DNN 5.2.3) but DNN at a glance has it’s authentication tightly integrated into the system. The goal is to allow an STS page to authenticate and pass authentication to DNN.
This will satisfy my project requirements: Install the WIF SDK, after doing you will be able to add the STS reference to your project. In VS2010 right click on your test DNN 5.2.3 installation and click “add STS reference” this will modify your DNN [url removed, login to view] and build a mywebsitename_STS website (automatically). Now when you try and run your DNN site, WIF will automatically (because of the changes it made to your [url removed, login to view]) redirect you to authenticate with the mywebsitename_STS site. After you authenticate with the STS site, you will be redirected back your DNN site. Now you already authenticated but you’re not logged in. This is where your work begins, take [url removed, login to view] given to you from STS and login the user. Allow the user to use DNN as normal and when the user clicks logout, he/she should be taken back to the mywebsitename_STS single sign-on web site page.