Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9302783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T23:19:59+00:00 2026-06-18T23:19:59+00:00

We are currently working on an SSO project which uses ADFS 2.0. as an

  • 0

We are currently working on an SSO project which uses ADFS 2.0. as an IDP/CP trust. One of the basic requirement w.r.t application design is to re-authenticate user after an idle period (can be anything). After extensive search I found only few implementation (apart from the SharePoint examples) which speaks about WebSSOlifetime and TokenLifeTime settings in ADFS server. I understand WebSSOLifeTime is a Server wide setting (default value:480) and TokenLifeTime is a RP level setting (default value 0 – 10 hours) for token expiry. To randomly test the settings, I changed the WebSSOlifetime value to 5 mins and TokenLifeTime to 3 mins for my RP application. But it didn’t trigger the re-authentication after an idle period of 5 minutes(as set in WebSSOlifetime). The RP applications I tested includes – Google apps – ADFS integrated SSO and a single page application to test the claim values. It will be great if someone can post any relevant pointers to the ADFS 2.0 Session maintenance features.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T23:20:00+00:00Added an answer on June 18, 2026 at 11:20 pm

    I found the solution to this after some sweat. This post in the Stackoverflow did provide me a starting point (Thanks a ton for that ! ). The key parameter that controls the login prompt for IP/STS is the freshness value(which is an optional parameter as mentioned in the Oasis documentation).

    This Parameter (set as freshness=”0″) when included in the federatedAuthentication section of your web.config will prompt the IDP to check the freshness value of the token based on the current time in WCT parameter. After that I found (after lot of testing) that the TokenLifeTime set through shell script come into picture. This (TokenLifeTime) controls the time the user can be active before redirecting him to the login screen.

    As you can see in the request URL :
    https://XXX/adfs/ls/?wa=wsignin1.0&wtrealm=https%3a%2f%2fXXX%2fXXX&wfresh=0&wctx=rm%3d0%26id%3dpassive%26ru%3d%252fXXX%252fDefault.aspx&wct=2013-02-14T01%3a36%3a17Z

    The wfresh and wctx value is passed to the IDP for verification.

    I’m still unsure how everything (freshness,TokenLifetime and WebSSOLifetime) sync’s up behind the scenes. A good explanation about the background would be very helpful (and of course will add some more reputation 🙂 ).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Currently working on something which uses ajax for some pagination. What I'm looking to
Im currently working on a c# project that uses another .net library. This library
Im currently working on a small project in which I need to model the
I'm currently working on an app that uses the SSO login from Facebook. I've
Im currently working on a game that uses multi touch to apply zoom to
Am currently working on an application that requires users to submit posts and comments
I`m currently working out the design for simple graphic editor, who support trivial operations
Currently working on database part of android project. The main aim of the project
Currently working on a Spring 2.5 web application, looks as if the business has
Im currently working on a site which will contain a products catalog. I am

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.