From 36f6534ff87a90970e4675bc999d0ef2fc932008 Mon Sep 17 00:00:00 2001 From: Jay Newstrom Date: Tue, 22 Jun 2021 14:13:40 -0500 Subject: [PATCH] Update error code to remove duplicate, and follow pattern of other error codes. --- .../main/java/com/okta/oidc/util/AuthorizationException.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/main/java/com/okta/oidc/util/AuthorizationException.java b/library/src/main/java/com/okta/oidc/util/AuthorizationException.java index 67ac367c..008d2f88 100644 --- a/library/src/main/java/com/okta/oidc/util/AuthorizationException.java +++ b/library/src/main/java/com/okta/oidc/util/AuthorizationException.java @@ -305,7 +305,7 @@ public static final class AuthorizationRequestErrors { * resulting in the response being discarded. */ public static final AuthorizationException STATE_MISMATCH = - generalEx(9, "Response state param did not match request state"); + generalEx(1009, "Response state param did not match request state"); private static final Map STRING_TO_EXCEPTION = exceptionMapByString(