eLearning Blog

The Accord Blog will keep you up to date with our latest product features and LMS industry news and trends.


Single Sign-On Tips

posted on

The Single Sign-On

application installs in a DotNetNuke (DNN) portal framework and provides User account management and auto-login/single sign-on (SSO) services from a remote website to the host DNN portal.

But what about the DNN portal Login and Registration controls?  And what can you do to make the websites work together seamlessly? Here are some awkward situations and graceful solutions.

Login and Logout Links on the DNN portal.

Remove the Login and Logout skin objects from your skin.






  1. Acquire the skin.ascx files from your portal via FTP or some other method.
  2. Edit the files using a text editor like Notepad. Be sure to make backups first. Remove these two skin objects from the HTML and their respective Register tags at the top of the page.

  3. Restore the updated skin files back to your server.

Note: If you need to login to your DNN site at any time in the future, you can simple add Login.aspx to your domain address: http://www.my-dnn-site.com/Login.aspx

Another option is to hide the Login/Logout control IF you are not a registered user.  This has the effect of only showing Logout once you are logged in:


If DotNetNuke.Security.PortalSecurity.IsInRole( PortalSettings.RegisteredRoleName )



End If




Unregistered User tries to access Secure Content on DNN portal.

Redirect them back to the remote server for proper login.




  1. Add a new page on the DNN portal.
    1. Name it Remote Redirect (or whatever you want).
    2. Advanced Settings > Other Settings > Link URL > URL (A Link to an External Resource). Set this to the desired target page on the remote server – could be the home page, a dashboard page, or a page with a link (including the SSOToken) back to the DNN portal.

  2. Admin > Site Settings > Advanced Settings > Page Management > Login Page > Remote Redirect.

Note: after the Remote Redirect page is created, you can only access the settings via Admin > Pages > select Remote Redirect > click on Edit pencil icon




Registered User logs out of DNN portal.

Redirect them back to the remote server.
Create a redirect page on the DNN portal. Same as above.
Admin > User Accounts > User Settings (link at bottom right) > Redirect After Logout (select Remote Redirect page).






These configurations will facilitate the flow between your sites and keep your users on track.

For more technical information, please visit the Single Sign On product page.




| Categories: Feature Focus, Single Sign-On, Tech Talk

Post a Comment


Once a month, receive the best of our Blogs directly to your mail box.

Search Articles

Blog Categories

Featured Articles

Smart.  Secure.  Scalable.
Experience the ease and agility of the Accord LMS.