[java-plugin-shibd-oidc] branch main updated: Fix wrong return value on error decoding state from authn response

Codeberg noreply at shibboleth.net
Mon Feb 9 10:41:28 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository java-plugin-shibd-oidc.

View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd-oidc/commit/94529e65c63ef940322a29efdcf5c756ef4239df

The following commit(s) were added to refs/heads/main by this push:
     new 94529e6  Fix wrong return value on error decoding state from authn response
94529e6 is described below

commit 94529e65c63ef940322a29efdcf5c756ef4239df
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Mon Feb 9 10:41:19 2026 +0000

    Fix wrong return value on error decoding state from authn response
---
 .../sp/oidc/profile/decoding/impl/DecodeStateAsJsonObjectConsumer.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sp-oidc-impl/src/main/java/net/shibboleth/sp/oidc/profile/decoding/impl/DecodeStateAsJsonObjectConsumer.java b/sp-oidc-impl/src/main/java/net/shibboleth/sp/oidc/profile/decoding/impl/DecodeStateAsJsonObjectConsumer.java
index 9515374..378b4ff 100644
--- a/sp-oidc-impl/src/main/java/net/shibboleth/sp/oidc/profile/decoding/impl/DecodeStateAsJsonObjectConsumer.java
+++ b/sp-oidc-impl/src/main/java/net/shibboleth/sp/oidc/profile/decoding/impl/DecodeStateAsJsonObjectConsumer.java
@@ -71,7 +71,7 @@ public class DecodeStateAsJsonObjectConsumer implements Function<MessageContext,
             }
         } catch (DecodingException | IOException | ParseException e) {
             log.debug("Unable to decode OAuth state into a JSON token", e);
-            return true;
+            return false;
         }
         return true;
         

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list