﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Achieving single-sign-on</title><link>http://www.aspplayground.net/forum/</link><description /><copyright>(c) ASP Playground Support Forum</copyright><ttl>30</ttl><item><title>Achieving single-sign-on (Samuel)</title><description>  Our software supports &lt;b&gt;external Membership Provider integration&lt;/b&gt; (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 (&lt;a href="http://www.aspplayground.net/forum/m397994.aspx" target="_blank"&gt;details&lt;/a&gt;).&amp;nbsp;        &lt;br&gt;   &lt;br&gt;  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:       &lt;br&gt;   &lt;br&gt;  &lt;b&gt;&lt;/b&gt;&lt;b&gt;Achieving Single-Sign-On&lt;/b&gt;: &lt;br&gt;  &lt;ul&gt;&lt;li&gt;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.&lt;li&gt;In order to get the forms authentication ticket to be recognized on both the forum and your site, you need to make sure that    &lt;b&gt;in both web.config files&lt;/b&gt;:        &lt;ul&gt;&lt;li&gt;forms authentication cookie's &lt;i&gt;name, protection, path&lt;/i&gt; are the same.&lt;li&gt;you have identical machine key specified (&lt;i&gt;validationKey, validation, decryptionKey&lt;/i&gt;)            &lt;ul&gt;&lt;li&gt;You can go to your AdminCP -&amp;gt; System Related Options -&amp;gt; Basic Maintenance to generate machine key.  &lt;/ul&gt;  &lt;/ul&gt;  &lt;/ul&gt; That's it. It shouldn't take more than 5 min to do the above.       &lt;br&gt;   &lt;br&gt;  &lt;b&gt;&lt;/b&gt;  &lt;br&gt;  &lt;b&gt;Alternatively&lt;/b&gt;, you can &lt;a href="http://www.aspplayground.net/forum/Custom-Forms-Authentication-cookie-for-Single-Sign-On-m404898.aspx" target="_blank"&gt;read this article on creating a custom Forms Authentication Cookie for forum&lt;/a&gt; if your site configuration does not allow the above. &lt;br&gt;  </description><link>http://www.aspplayground.net/forum/fb.ashx?m=398468</link><pubDate>Mon, 04 Aug 2008 17:43:13 GMT</pubDate></item></channel></rss>
