You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: oid4vc/README.md
+50-4Lines changed: 50 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -255,10 +255,33 @@ The Plugin expects the following configuration options. These options can either
255
255
-`credential_issuer` endpoint, seen in the Credential Offer
256
256
-`OID4VCI_CRED_HANDLER` or `oid4vci.cred_handler`
257
257
- Dict of credential handlers. e.g. `{"jwt_vc_json": "jwt_vc_json"}`
258
-
-`OID4VCI_AUTH_SERVER_URL` or `oid4vci.auth_server_url`
259
-
- Optional authorization server URL
260
-
-`OID4VCI_AUTH_SERVER_CLIENT` or `oid4vci.auth_server_client`
261
-
- Optional authorization server client credential, e.g. `{"auth_type": "client_secret_basic", "client_id": "client_id", "client_secret": "client_secret"}`
258
+
259
+
#### Authorization Server (Per-Tenant)
260
+
261
+
Authorization server configuration is managed per-tenant via the `IssuerConfiguration` record, not through global environment variables. Use the admin API:
262
+
263
+
-`PUT /oid4vci/issuer/configuration` — create or update the issuer configuration
264
+
-`GET /oid4vci/issuer/configuration` — retrieve the current configuration
265
+
266
+
Example payload to configure an external authorization server:
@@ -426,6 +449,29 @@ docker compose down -v # Clean up
426
449
427
450
For Apple Silicon, the `DOCKER_DEFAULT_PLATFORM=linux/amd64` environment variable will be required.
428
451
452
+
## Development Setup
453
+
454
+
After cloning the repo and installing dependencies with `poetry install --all-extras`, you must install the `isomdl-uniffi` package separately. It provides the Rust-based ISO 18013-5 mDoc signing bindings and is not on PyPI — only pre-built wheels are available from GitHub releases.
455
+
456
+
Pick the wheel for your platform:
457
+
458
+
**macOS (Apple Silicon):**
459
+
```bash
460
+
poetry run pip install https://github.com/Indicio-tech/isomdl-uniffi/releases/download/v0.1.0-indicio.1/isomdl_uniffi-0.1.0-py3-none-macosx_11_0_arm64.whl
461
+
```
462
+
463
+
**macOS (Intel):**
464
+
```bash
465
+
poetry run pip install https://github.com/Indicio-tech/isomdl-uniffi/releases/download/v0.1.0-indicio.1/isomdl_uniffi-0.1.0-py3-none-macosx_10_12_x86_64.whl
466
+
```
467
+
468
+
**Linux (x86_64):**
469
+
```bash
470
+
poetry run pip install https://github.com/Indicio-tech/isomdl-uniffi/releases/download/v0.1.0-indicio.1/isomdl_uniffi-0.1.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
471
+
```
472
+
473
+
Without this, importing `mso_mdoc` will fail with `ModuleNotFoundError: No module named 'isomdl_uniffi'`.
0 commit comments