X
dnn.blog.
Back

Single Sign-on (SSO) and Modulesharing in DotNetNuke CE 06.01.00 and above

Single Sign On (SSO)

One problem that is facing you from time to time as a dotnetnuke professional is the burning desire of customers to have a single sign-on solution for their multi-portal system. Often they have different portals for their company departments or separate intranet and internet portals or some other multiportal needs. But none of these customers understand the necessity of logging seperatly into every single portal! And for the system administrators it is a nightmare to keep all these user accounts in sync!  A lot of commercial and open source modules and providers helped to solve this problem in the past.

Another annoyance is the impossibility to share content between portals. Think of  a desktop browser website and his mobile companion (realized as two portals). If you write an article in the desktop portal and you want to show this special article on the mobile portal too, what did you have to do ? Yes, copy and paste! Possible, but not very elegant!

Since Version 6.1  of DotNetNuke  there is a solution for this in the Professional Version (PE). Unfortunately this is supposed to be not included in the community edition of DNN.  But you should know that the functionality is implemented in the core and only the administration module is lacking in the CE version! So you are able to use this, even in  CE, with minimal changes directly in the database:

 

Base of all the functionality is the new table “PortalGroups”:

PortalGroups

For every group of portals we need to insert here one record:

PortalGroupSample

Beside the PortalGroupName and the PortalGroupDescription, which are selfexplaining, and the common fields CreatedOnDate, CreatedByUserID etc. , only  MasterPortalID and AuthenticationDomain  are interesting. MasterPortalID  should be replaced with the portalid of the portal which should be used as the portal where the user logs in in the future. AuthenticationDomain should be filled with the domain name of the master portal (e.g. www.yourdomain.com)

Now we have to fill in the PortalGroupID of the newly created portalgroup into the field with the same name in the corresponding Portal records and our SSO solution is complete:

Portals

Tip: Eventually you have to recycle the Applicationpool to see your results!

And now see how this affects your portal administration:

Link_module_before
Add an existing module – before

Link_module_after
Add an existing module – after

And after login in the main portal the user is also automatically logged in into the child portal and all users of both portals show up together in the user administration!

Edit (08.05.2014) Please be aware of this:

  • A user created on the master portal is known on all portals of the portal group
  • Login at a portal automatically logs you in to all portals with the same domain (incl. subdomains + childportals). SSO for other domains does NOT work (but you can log in with the same user credentials).

Many thanks to Stefan Cullmann (@SCullman) who told me about this nice little “trick” !

Back
Total: 7 Comment(s)
Awesome. Thanks for sharing. I've been forced to work the heck out of the reports module to get cross-portal content shared. Peace, Love, Joy, Kuddos and Karma to you!
Friday, August 9, 2013 · reply ·
Josephine Barber
The only https://apkguide.download/">ApkGuide of the shooter in Sniper Assassin 3D Apk Guide is to aim and shoot the bad guys in the town.
Thursday, June 21, 2018 · reply ·
Kenneth Scott
Friday, August 24, 2018 · reply ·
Rogeran22
Through this site I ready to peruse the total individual and expert detail of my most loved artist. This is the magnificence of this site it have great group to look into and conveyed quality content for the clients. Be that as it may, I need to get content about www.superiorpaperrs.com which is identified with math yet yes I will investigate this site also.
Wednesday, September 12, 2018 · reply ·
David
I am glad to read it. https://www.sdf.com
Wednesday, December 19, 2018 · reply ·
Scott Styris
On the off chance that you are instructed and have a level of business training, you know about https://aussiessayservices.com/ business in well way. At that point you can deal with tasks successfully due to your instruction and your experience. At that point you can develop your organization business.
Wednesday, December 19, 2018 · reply ·
Most Motte
Tuesday, April 9, 2019 · reply ·

about.me.

Torsten WeggenMy name is Torsten Weggen and I am CEO of indisoftware GmbH in Hanover, Germany. I'm into DNN since 2008. Before this, I did a lot of desktop stuff mainly coded with Visual Foxpro (see http://www.auktionsbuddy.de). 

I'm programmer, husband, father + born in 1965.

Please feel free to contact me if you have questions.

Latest Posts

DNN module development with Angular 2+ (Part 7)
6/10/2018 1:43 PM | Torsten Weggen
DNN module development with AngularJS (Part 6)
12/16/2016 7:00 AM | Torsten Weggen
DNN module development with AngularJS (Part 5)
12/16/2016 6:00 AM | Torsten Weggen
DNN module development with AngularJS (Part 4)
12/16/2016 5:00 AM | Torsten Weggen
DNN module development with AngularJS (Part 3)
12/16/2016 4:00 AM | Torsten Weggen
DNN module development with AngularJS (Part 2)
12/16/2016 3:00 AM | Torsten Weggen
DNN module development with AngularJS (Part 1)
12/15/2016 7:19 AM | Torsten Weggen
Blogging in DNN with Markdown Monster by Rick Strahl
11/27/2016 1:14 PM | Torsten Weggen
Creating a global token engine
11/18/2016 10:25 AM | Torsten Weggen
DnnImagehandler - Hot or not ?
2/21/2015 11:52 PM | Torsten Weggen

My Twitter

Torsten Weggen 3/17/2019

You can make a real difference in Abir ’s life. Join me on @Kiva https://t.co/NlCTgIAZAN

Torsten Weggen 2/2/2019

As a freelance developer I often get invites from headhunters. This one should be very interesting... https://t.co/CNrEXBTBuJ

Torsten Weggen 10/11/2018

Evernote or OneDrive user and love #markdown #markdownmonster ? Take a look at Joplin! https://t.co/4bzkiD6CHn