Forum Themes:
Welcome !

 Achieving single-sign-on

Author Message
Samuel

  • Total Posts : 11041
  • Reward points : 101590
  • Joined: May 23 '01
  • Status: offline
Achieving single-sign-on Mon. Aug 4, '08 5:43 PM (permalink)
Our software supports external Membership Provider integration (e.g. the default SqlMembershipProvider that comes with ASP.NET) and we also provide a Membership Provider for our forum software for you to use on your own site (details). 

One challenge you will face is how to achieve single-sign-on across your site and forum, i.e. once a user is logged on at the forum, he should be recognized by your site, and vice versa. Here is how:

Achieving Single-Sign-On:
  • In order to achieve single sign on, in addition to using your (or our) membership provider, you will need to enable cookie based forms authentication for your site, as the forum uses forms authentication to recognize logged in users.
  • In order to get the forms authentication ticket to be recognized on both the forum and your site, you need to make sure that in both web.config files:
    • forms authentication cookie's name, protection, path are the same.
    • you have identical machine key specified (validationKey, validation, decryptionKey)
      • You can come to this site for help if you don't know how to generate machine key.
That's it. It shouldn't take more than 5 min to do the above.

Alternatively, you can consult this article on additional implementations for single sign on (e.g. username mapping scenario).
ASPPlayground.net Developer
 
#1
    Online Bookmarks Sharing: Share/Bookmark

    Jump to:

    Current active users

    There are 0 members and 1 guests.

    Icon Legend and Permission

    • New Messages
    • No New Messages
    • Hot Topic w/ New Messages
    • Hot Topic w/o New Messages
    • Locked w/ New Messages
    • Locked w/o New Messages
    • Read Message
    • Post New Thread
    • Reply to message
    • Post New Poll
    • Submit Vote
    • Post reward post
    • Delete my own posts
    • Delete my own threads
    • Rate post

    © 2000-2009 ASPPlayground.NET Forum Version 3.8 beta.