none
Claims Based Auth timeout?

    Question

  • When using Claims authentication with FBA membership provider is there a way to configure the FedAuth cookie to expire when the user closes his or her browser or at a particular interval?  I've tried setting the timeout attribute of the <forms> tag but when I look at the auth cookie the timeout value is the same 10 hour window. 

    • Moved by Serge Luca [MVP]MVP Wednesday, July 21, 2010 9:49 AM (From:SharePoint 2010 - General Questions and Answers)
    Monday, July 19, 2010 3:22 PM

Answers

  • This SharePoint Security Token Service Configuration works:

    $sts = Get-SPSecurityTokenServiceConfig
    $sts.WindowsTokenLifetime = (New-TimeSpan -Days 14)
    $sts.FormsTokenLifetime = (New-TimeSpan -Days 14)
    $sts.Update()
    Iisreset
    

    Thursday, November 25, 2010 2:25 PM

All replies

  • I'm looking for the same. Even in the Security Token Service web.config there's is no setting for that cookie timeout.
    Wednesday, July 28, 2010 6:29 AM
  • Doesn't anybody else has replies about users who have to login every day again, even when they select "Sign me in automatically"?

    Monday, September 27, 2010 7:27 AM
  • This SharePoint Security Token Service Configuration works:

    $sts = Get-SPSecurityTokenServiceConfig
    $sts.WindowsTokenLifetime = (New-TimeSpan -Days 14)
    $sts.FormsTokenLifetime = (New-TimeSpan -Days 14)
    $sts.Update()
    Iisreset
    

    Thursday, November 25, 2010 2:25 PM