Often people end up with having different portals such as company portals, separate intranet and internet portals etc. But did it ever occurred to you of having a single sign-on solution for multi-portal system. Well, DotNetNuke Version 6.1 has a solution for you! The solution is available for DNN Professional Version and unfortunately it’s not available for the DNN Community Edition as of now. Also, it is important for you to know that the functionality is implemented in the core and the administration module is lacking in the CE version. But the good news is that you can still use this in CE with very minimal changes directly in the database.
In this blog post, let’s see how we can create a single sign-on solution and share modules in DNN.
First of all, the base of all the functionality is the new table “PortalGroups” wherein for every group of portals you can insert one record.
After inserting portal record, you can view the table shown as below:
From the above table, only the MasterPortalID andAuthenticationDomain are interesting. The MasterPortalID needs to be replaced with the portal id of the portal which can be used as the portal where logs are kept for future purpose whereas the AuthenticationDomain needs to be filled with the domain name of the master portal. Now, you have to fill PortalGroupID of the newly created portal group into the field with the same name in the corresponding portal records. This completes your Single Sign-on solution.
Have a look at the below figure:
Now, just recycle your applicationpool to see the desired results and also view how it affects your portal administration. To get started with the module, just select the site and page and after successful login in the main portal the user is also automatically logged-in into the child portal and all the users of both the portals show up together in the user administration!
I hope this blog will be useful to you. Feel free to share your views or replies in the comment box below…!