[java-idp-plugin-vci] 02/04: Updated for assignments endpoint errors, assigment record members, revoke and assignments authentication methods and link fix

Codeberg noreply at shibboleth.net
Wed Nov 11 10:42:18 UTC 2026


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

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

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

commit eb4dea3d6fd615516f6f0fc7ef0966112d37708c
Author: Janne Lauros <janne.lauros at csc.fi>
AuthorDate: Wed Nov 11 12:33:33 2026 +0200

    Updated for assignments endpoint errors, assigment record members, revoke and assignments authentication methods and link fix
---
 README.md | 40 ++++++++++++++++++++++++++++++++++------
 1 file changed, 34 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index bd2e488..5f9c8ff 100644
--- a/README.md
+++ b/README.md
@@ -1006,7 +1006,7 @@ for credential configuration that has no scope.
 </details>
 
 The same scope limits the assignment records the caller reads, see
-[Finding the slot of a credential](#finding-the-slot-of-a-credential).
+[Keeping track of issued credentials](#keeping-track-of-issued-credentials).
 
 #### Authorization code flow
 
@@ -1335,6 +1335,11 @@ slots that are already used are handed out again.
 
 ##### Keeping track of issued credentials
 
+> **Note**
+> The records contain the claims of issued credentials. They are kept in storage for
+> `openidvci.status-list.assignment.retention` for clients with **OAuth.StatusList.Assignments**
+> enabled to read them for long time storaging.
+
 A Status List holds only the bits. If you want at some point revoke credential from status list,
 you need the assignment records. The credential endpoint writes one record for each issuance, listing the slots the
 issued credentials took. The IdP itself does not use these records.
@@ -1345,7 +1350,7 @@ from there.
 A client with `scope` gets only the records of the credential configurations its scope allows, see
 [Limiting what the offer caller may offer](#limiting-what-the-offer-caller-may-offer). 
 
-Collect the records in the system that tracks who holds each credential:
+Collecting the records:
 
 <details>
 <summary>Example of collecting assignment records</summary>
@@ -4798,7 +4803,7 @@ Endpoint `/idp/profile/oauth/status-list/assignments`, profile ID `http://geant.
 
 | Name | Type | Default | Description |
 |---|---|---|---|
-| `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. Use `client_secret_basic`. |
 | `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. |
@@ -4809,10 +4814,34 @@ Request, a `POST` of `application/json`:
 |---|---|---|
 | `from` | Integer | Position to read from, `0` or more. Default `0`. |
 | `limit` | Integer | Records to return, `1` to `1000`. Default `100`. |
-| `client_id` | String | Only where unauthenticated callers are accepted. |
 
 Response has `records`, `next` and `high_water`. Give `next` as `from` of the next call. For a
 client with `scope`, records of credential configurations whose `scope` is not in it are left out.
+`next` and `high_water` are not affected by `scope`.
+
+A record:
+
+| Name | Type | Description |
+|---|---|---|
+| `seq` | Integer | Position of the record. |
+| `id` | String | The month of the list, `uuuu-MM`. Give it as `id` to **OAuth.StatusList.Revoke**. |
+| `idx` | Array of Integer | The slots of credential, there can be many if issued as batch. |
+| `expires` | Integer | Credential expiry, seconds since the epoch. |
+| `details.credential_configuration_id` | String | Credential configuration of the credential. |
+| `details.dataset_id` | String | The dataset, if there was one. |
+| `details.format` | String | Format of the credential. |
+| `details.claims` | Object | Claims of the credential by path |
+
+Each record is read from storage separately.
+
+Error responses:
+
+| Status | `error` | When |
+|---|---|---|
+| 400 | `invalid_request` | Request parsing failed. |
+| 400 | `unauthorized_client` | **OAuth.StatusList.Assignments** is not enabled for the client. |
+| 401 | `invalid_client` | Client authentication failed. |
+| 500 | `server_error` | The records could not be read, try again later. |
 
 #### OAuth.StatusList.Revoke
 
@@ -4820,7 +4849,7 @@ Endpoint `/idp/profile/oauth/status-list/revoke`, profile ID `http://geant.org/n
 
 | Name | Type | Default | Description |
 |---|---|---|---|
-| `tokenEndpointAuthMethods` | Collection<String> | `openidvci.status-list.revoke.tokenEndpointAuthMethods`, `client_secret_basic` | Of the OP plugin. Client authentication of the caller. |
+| `tokenEndpointAuthMethods` | Collection<String> | | Client authentication of the caller. Use `client_secret_basic`. |
 | `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. |
@@ -5020,7 +5049,6 @@ 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
 

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


More information about the commits mailing list