title: Build Security Token Service (STS) application for ASP.NET website
body: <p>I have a ASP.NET based CMS which i use to setup websites. This CMS uses a standard ASP.NET membership mechanism, and it can work with claims based / STS authentication. </p>
  
  <p>Now i want to setup a set of 4 websites and a login page/portal that sits in front of these websites, which users can use login to one of these websites. During the login process some database setting has to determine to which website the user has to be logged in and redirected to. </p>
  
  <p>Is there some project or code example anyone can give which i can use as a start to develop such a STS service? </p>