Hi,
I have just create a example for testing this situation.
First, when you login the Goole login page, please do not select "Stay signed in" checkbox below the Email and Password, if you select it, Google will help you to login with ACS.
Second, From the Request.Form property when you log in (Please set a break point for view it), you will find some Token and ACS information with it (you need decode it for several time), at last, you can get the Token life time, just like below:
<t:Lifetime>
<wsu:Created xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
2012-02-08T05:36:58.426Z
</wsu:Created>
<wsu:Expires xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
2012-02-08T05:37:03.426Z
</wsu:Expires>
</t:Lifetime>
The interval of created and expires time is 5 second because i set it in Management Portal as same as you.
So i think the Token life time is correct but some other things has happened, I guess it's WIF and Federation problems,ACS works fine, so i test it with another way.
If you think token expires is not make sense, please post the threads on WIF forum.
To use https://localhost/YourWebSite/ (your web site url) and input the Google account and password for login, add a button on the page and add following code in button's click event:
FederatedAuthentication.WSFederationAuthenticationModule.SignOut(true);
If you open the same page or new a tab of this Window, you will find the application is still available because of SessionAuthenticationModule (web.config) moduler, the application will create a cookie for manage sessions. So you must open a new
window or new a session to open a windows or use another Browser (such as Chrome). It works fine, the application will redirect to Google login page.
Hope it can help you.
Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact
msdnmg@microsoft.com
Microsoft One Code Framework