[java-idp-plugin-vci] 03/04: Revocation to have own authentication methods
Codeberg
noreply at shibboleth.net
Tue Nov 10 10:10:11 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch dev/REVIEWREVOKE
in repository java-idp-plugin-vci.
View the commit online:
https://codeberg.org/Shibboleth/java-idp-plugin-vci/commit/b9bb1a835756b1665ef0346dfdde9d2a95bb77e9
commit b9bb1a835756b1665ef0346dfdde9d2a95bb77e9
Author: Janne Lauros <janne.lauros at csc.fi>
AuthorDate: Tue Nov 10 12:07:07 2026 +0200
Revocation to have own authentication methods
---
README.md | 17 ++++++++++++++---
.../shibboleth/idp/service/relying-party/postconfig.xml | 3 ++-
.../plugin/openidvci/conf/openid-vci.properties | 2 ++
3 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/README.md b/README.md
index 6a7f82d..bd2e488 100644
--- a/README.md
+++ b/README.md
@@ -1446,7 +1446,8 @@ curl -i -u 'offer-caller:CHANGE-ME' \
```
HTTP/1.1 204 No Content
-Cache-Control: no-store
+Cache-control: no-cache, no-store
+Pragma: no-cache
```
</details>
@@ -4708,7 +4709,7 @@ Endpoint `/idp/profile/openid/vci/credential-offer`, profile ID `http://geant.or
|---|---|---|---|
| `preAuthorizedCodeLifetime` | Duration | `PT10M` | Lifetime of the pre-authorized code. Property `openidvci.preAuthorizedCode.defaultLifetime`. |
| `preAuthorizedCodeLength` | Integer | `0` | `0` seals the whole offer in the code, no storage needed. `10` or more is a short code of an offer in storage. Property `openidvci.preAuthorizedCode.defaultLength`. |
-| `tokenEndpointAuthMethods` | Collection<String> | | Of the OP plugin. Client authentication of the caller, `client_secret_basic` for instance. |
+| `tokenEndpointAuthMethods` | Collection<String> | | Client authentication of the caller. |
| `inboundInterceptorFlows` | List<String> | | Interceptor flows run after the request is decoded, before authentication. |
| `outboundInterceptorFlows` | List<String> | | Interceptor flows run before the response is sent, also for an error response. |
| `messageHandler` | Function<MessageContext,Exception> | | Of the OP plugin. Runs on the inbound message before authentication and on the outbound one before encoding. |
@@ -4819,7 +4820,7 @@ Endpoint `/idp/profile/oauth/status-list/revoke`, profile ID `http://geant.org/n
| Name | Type | Default | Description |
|---|---|---|---|
-| `tokenEndpointAuthMethods` | Collection<String> | | Of the OP plugin. Client authentication of the caller, `client_secret_basic` for instance. |
+| `tokenEndpointAuthMethods` | Collection<String> | `openidvci.status-list.revoke.tokenEndpointAuthMethods`, `client_secret_basic` | Of the OP plugin. Client authentication of the caller. |
| `inboundInterceptorFlows` | List<String> | | Interceptor flows run after the request is decoded, before authentication. |
| `outboundInterceptorFlows` | List<String> | | Interceptor flows run before the response is sent, also for an error response. |
| `messageHandler` | Function<MessageContext,Exception> | | Of the OP plugin. Runs on the inbound message before authentication and on the outbound one before encoding. |
@@ -4831,6 +4832,15 @@ Request, a `POST` of `application/json`, success is `204 No Content`:
| `id` | String | The month, `uuuu-MM`, with or without the issuer tag. |
| `idx` | Integer | The slot, `0` to `1048575`. |
+Error responses:
+
+| Status | `error` | When |
+|---|---|---|
+| 400 | `invalid_request` | Request parsing failed. |
+| 400 | `unauthorized_client` | **OAuth.StatusList.Revoke** is not enabled for the client. |
+| 401 | `invalid_client` | Client authentication failed. |
+| 500 | `server_error` | The slot is not revoked, try again later. |
+
The `scope` of the client does not limit the slots it may revoke.
### Credential Configuration settings
@@ -5010,6 +5020,7 @@ The file comes with the plugin and is loaded automatically.
| `openidvci.status-list.StorageService` | Bean ID | **shibboleth.StorageService** | Storage of the lists. Server side storage. |
| `openidvci.status-list.assignment.StorageService` | Bean ID | **shibboleth.StorageService** | Storage of assignment records. |
| `openidvci.status-list.index.StorageService` | Bean ID | **shibboleth.StorageService** | Storage of the slot counter. Most churn of the three. |
+| `openidvci.status-list.revoke.tokenEndpointAuthMethods` | Comma-delimited list | `client_secret_basic` | Client authentication methods of **OAuth.StatusList.Revoke**.|
#### Attestations
diff --git a/openid-vci-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml b/openid-vci-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml
index a4873ac..22e7f79 100644
--- a/openid-vci-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml
+++ b/openid-vci-impl/src/main/resources/META-INF/net/shibboleth/idp/service/relying-party/postconfig.xml
@@ -111,7 +111,8 @@
p:statusListSignatureSigningConfiguration="#{getObject('openidvci.status-list.SigningConfiguration')}" />
<bean id="OAuth.StatusList.Revoke" parent="AbstractVCIProfile" lazy-init="true"
- class="org.geant.shibboleth.plugin.openidvci.statuslist.profile.config.impl.DefaultStatusListRevokeConfiguration" />
+ class="org.geant.shibboleth.plugin.openidvci.statuslist.profile.config.impl.DefaultStatusListRevokeConfiguration"
+ p:tokenEndpointAuthMethods="%{openidvci.status-list.revoke.tokenEndpointAuthMethods:client_secret_basic}" />
<bean id="OAuth.StatusList.Assignments" parent="AbstractVCIProfile" lazy-init="true"
class="org.geant.shibboleth.plugin.openidvci.statuslist.profile.config.impl.DefaultStatusListAssignmentsConfiguration" />
diff --git a/openid-vci-impl/src/main/resources/org/geant/shibboleth/plugin/openidvci/conf/openid-vci.properties b/openid-vci-impl/src/main/resources/org/geant/shibboleth/plugin/openidvci/conf/openid-vci.properties
index 1bd657c..d0dbaa3 100644
--- a/openid-vci-impl/src/main/resources/org/geant/shibboleth/plugin/openidvci/conf/openid-vci.properties
+++ b/openid-vci-impl/src/main/resources/org/geant/shibboleth/plugin/openidvci/conf/openid-vci.properties
@@ -90,6 +90,8 @@ openidvci.status-list.index.permutationKey = change_this_to_secret
#openidvci.status-list.StorageService = shibboleth.StorageService
#openidvci.status-list.assignment.StorageService = shibboleth.StorageService
#openidvci.status-list.index.StorageService = shibboleth.StorageService
+# Client authentication methods of the revoke endpoint, the request body is JSON
+#openidvci.status-list.revoke.tokenEndpointAuthMethods = client_secret_basic
# Settings for the jwt-vc-issuer flow
# Flow is available at /oauth/jwt-vc-issuer, usually it should be wired from
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list