No Correlation and Nonce cookies generated when consumers adjust their system clock
Test Environment: IOS 10.1 (IPad) Reproduce steps:
- Let system clock a day late.
- Open browser and access website that base on the oidc authentication.
- 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.
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.
I repeat the steps on windows, it works.
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.