[java-idp-plugin-vci] 01/02: Adopt for now userinfo endpoint error mapping

Codeberg noreply at shibboleth.net
Mon Dec 8 11:57:49 UTC 2025


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

codeberg pushed a commit to branch dev/DPOP
in repository java-idp-plugin-vci.

View the commit online:
https://codeberg.org/Shibboleth/java-idp-plugin-vci/commit/a86f4a4638ea58f902fa2c9eae97e50e2e47e3a5

commit a86f4a4638ea58f902fa2c9eae97e50e2e47e3a5
Author: jlauros <janne.lauros at csc.fi>
AuthorDate: Mon Dec 8 13:57:01 2025 +0200

    Adopt for now userinfo endpoint error mapping
---
 .../openid/vci/credentials/credentials-beans.xml   | 25 ++++++++++------------
 1 file changed, 11 insertions(+), 14 deletions(-)

diff --git a/openid-vci-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/openid/vci/credentials/credentials-beans.xml b/openid-vci-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/openid/vci/credentials/credentials-beans.xml
index dd4fd65..dcece32 100644
--- a/openid-vci-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/openid/vci/credentials/credentials-beans.xml
+++ b/openid-vci-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/openid/vci/credentials/credentials-beans.xml
@@ -79,20 +79,17 @@
         </property>
   </bean>      
 
-  <bean id="BuildErrorResponseFromEvent" class="net.shibboleth.oidc.profile.impl.BuildJSONErrorResponseFromEvent" 
-        scope="prototype" p:defaultStatusCode="400" p:defaultCode="invalid_request"
-        p:httpServletResponseSupplier-ref="shibboleth.HttpServletResponseSupplier">
-    <property name="eventContextLookupStrategy">
-      <bean class="net.shibboleth.idp.profile.context.navigate.WebFlowCurrentEventLookupFunction" />
-    </property>
-    <property name="mappedErrors">
-      <map value-type="com.nimbusds.oauth2.sdk.ErrorObject">
-      <!--  
-        ADD SOME
-        -->
-      </map>
-    </property>
-  </bean>
+  <bean id="BuildErrorResponseFromEvent"
+        class="net.shibboleth.idp.plugin.oidc.op.userinfo.profile.impl.BuildUserInfoErrorResponseFromEvent" scope="prototype"
+        p:httpServletResponseSupplier-ref="shibboleth.HttpServletResponseSupplier"
+        p:mappedErrors="#{getObject('shibboleth.oidc.userinfo.MappedErrors') ?: getObject('shibboleth.oidc.DefaultOAuth2ProtectedApiMappedErrors')}"
+        p:securityParametersContextLookupStrategy-ref="DPoPSecurityParametersContextProfileRequestContextLookup"
+        p:algorithmCandidates="%{idp.oauth2.dpop.proofAlgorithms:RS256,RS384,RS512,PS256,PS384,PS512,ES256,ES384,ES512}"
+        >
+        <property name="eventContextLookupStrategy">
+            <bean class="net.shibboleth.idp.profile.context.navigate.WebFlowCurrentEventLookupFunction" />
+        </property>
+    </bean>
 
   <!-- Used for metadata lookup. -->
   <bean id="shibboleth.ClientIDLookupStrategy"

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


More information about the commits mailing list