Skip to content

Commit 559287f

Browse files
author
Han Chen
committed
more meaningful timing error message
1 parent fcfdb34 commit 559287f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/onelogin/saml/Response.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public boolean isValid(String... requestId){
138138

139139
// Validate Assertion timestamps
140140
if (!this.validateTimestamps()) {
141-
throw new Exception("Timing issues (please check your clock settings)");
141+
throw new Exception("Timing issues. Possible reasons include: SAML expired, service's clock setting is not UTC.");
142142
}
143143

144144
// EncryptedAttributes are not supported

0 commit comments

Comments
 (0)