I have a set of applications that could possibly be hosted under different domains or as sub-domains of a common domain.
All of these applications will authenticate against the same ADFS service.
I want my application to automatically login, if another application has authenticated with the same ADFS service.
For example, you only need to login into google once, and then if you visit any of their application sites ( Gmail / Google Drive / Google+ ), you are automatically logged into the application.
Hence, let's say we have an ADFS service ADFS_AUTH_SERVICE.
Application Website1 authenticates with ADFS_AUTH_SERVICE.
User visits Website2 which is also configured to authenticate with ADFS_AUTH_SERVICE .
Hence, when user visits Website2 he should be automatically logged in.
UPDATE: For more clarity, following is the sequence that is currently occuring:
1. User enters http://site1/Home
2. User is redirected to the online Microsoft ADFS authentication page.
3. User enters his details and successfully authenticates with ADFS service and is redirected to http://site1/Home
4. User's name is visible on http://site1/Home.
5. User clicks on a link in site1 that takes him to http://site2/Home
Expected Result: User's name should be visible on site2/Home
Actual Result: User is redirected to the ADFS login page.