Security icon indicating copy to clipboard operation
Security copied to clipboard

No Correlation and Nonce cookies generated when consumers adjust their system clock

Open atpyk opened this issue 9 years ago • 3 comments

Test Environment: IOS 10.1 (IPad) Reproduce steps:

  1. Let system clock a day late.
  2. Open browser and access website that base on the oidc authentication.
  3. Open the browser monitor.

Except: The Correlation and Nonce cookies will be generated. Actual: Nothing in the cookie list.

This issue will lead to login failed, client server side always receives the error message "Correlation failed.", even though the Identity Sever has authorized.

atpyk avatar Mar 24 '17 07:03 atpyk

By design. The cookies have a default expiration on them, and if the client's clock is off by to much then those cookies will be considered expired as soon as they're issued. IM has a clock skew option that defaults to five minutes (which wouldn't help the cookies), so being off by a whole day is way outside expected norms.

Tratcher avatar Mar 24 '17 11:03 Tratcher

I repeat the steps on windows, it works.

atpyk avatar Mar 27 '17 01:03 atpyk

This is indeed by design because the cookies would appear to be expired before they're used.

We suspect you might not be seeing the issue on Windows if the same Windows machine is both the client and the server, because both the server and client times would match.

Eilon avatar Apr 06 '17 22:04 Eilon