openwallet-foundation / openwallet-foundation/acapy-plugins

OID4VC plugin not importing the credentials types

Open
#3,152 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10
Forks
47
Avg merge
13h 22m
Merged PRs (30d)
12

Description

I'm trying to use the oid4vc plugin, importing it the way any plugin should be installed according to README.md file in the root.
Putting RUN pip install git+https://github.com/openwallet-foundation/acapy-plugins@main#subdirectory=oid4vc in my docker file, acapy loads ok, however looking in the logs, the credential types weren't loaded

2026-05-27 15:16:09,318 acapy_agent.config.default_context DEBUG Registering external plugin: oid4vc
2026-05-27 15:16:09,432 acapy_agent.core.plugin_registry DEBUG Registered plugin: oid4vc
2026-05-27 15:16:09,432 acapy_agent.config.default_context DEBUG Registering external plugin: jwt_vc_json
2026-05-27 15:16:09,432 acapy_agent.core.plugin_registry ERROR Protocol does not include 'definition.py' for module: jwt_vc_json
2026-05-27 15:16:09,432 acapy_agent.core.plugin_registry WARNING Failed to register plugin: jwt_vc_json
2026-05-27 15:16:09,432 acapy_agent.config.default_context DEBUG Registering external plugin: mso_mdoc
2026-05-27 15:16:09,434 acapy_agent.utils.classloader WARNING Module mso_mdoc not found during import
2026-05-27 15:16:09,434 acapy_agent.core.plugin_registry ERROR Error loading plugin module 'mso_mdoc': Unable to import module mso_mdoc: No module named 'cbor2'
2026-05-27 15:16:09,434 acapy_agent.core.plugin_registry ERROR Module doesn't exist: mso_mdoc
2026-05-27 15:16:09,434 acapy_agent.config.default_context DEBUG Registering external plugin: sd_jwt_vc
2026-05-27 15:16:09,435 acapy_agent.utils.classloader WARNING Module sd_jwt_vc not found during import
2026-05-27 15:16:09,435 acapy_agent.core.plugin_registry ERROR Error loading plugin module 'sd_jwt_vc': Unable to import module sd_jwt_vc: No module named 'jsonpointer'
2026-05-27 15:16:09,435 acapy_agent.core.plugin_registry ERROR Module doesn't exist: sd_jwt_vc

Look that oid4vc plugin was registered fine, however the other plugins, the credential types, weren't

Anyone has a clue why this is happening?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the root README.md and the Docker file's pip installation for the oid4vc plugin, then trace the plugin registration messages for jwt_vc_json, mso_mdoc, and sd_jwt_vc. Reproduce the startup and identify why the credential type modules are not imported; done means those modules register without missing definition or dependency errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.