Skip to content

OmniOneID/poc-oid4vc

OID4VC (OpenID for Verifiable Credentials) PoC

Welcome to the OID4VC PoC repository. This repository contains a Proof of Concept (PoC) project for testing the OID4VC (OID4VCI/OID4VP) standards in integration with OpenDID.

Project Goals

  • Understand the issuance and verification flows of the OID4VC protocol
  • Evaluate the feasibility of building a DID-based VC (Verifiable Credential) ecosystem
  • Test integration between Spring Boot-based servers and native mobile applications (Android/iOS)

Folder Structure

An overview of the main folders and documents in the project directory.

poc-oid4vc
├── apps
│   ├── android-app
│   └── ios-app
├── docs
│   └── api
│       ├── authorization-server
│       ├── issuer-server
│       ├── sd-jwt-sdk
│       └── verifier-server
├── sdks
│   └── sd-jwt-sdk
└── servers
    ├── authorization-server
    ├── issuer-server
    └── verifier-server

Description of each folder:

Name Description
servers Contains server implementations for the OID4VC flow.
â”– authorization-server Manages authentication and authorization based on OAuth 2.0 and OIDC.
â”– issuer-server Issues VC (Verifiable Credentials) according to the OID4VCI standard.
â”– verifier-server Verifies VC according to the OID4VP standard.
apps Contains sample mobile wallet applications.
â”– android-app Sample Android wallet application for storing and submitting VCs.
â”– ios-app Sample iOS wallet application for storing and submitting VCs.
sdks Contains SDKs for core functionality.
â”– sd-jwt-sdk SDK for creating, signing, and verifying SD-JWT VCs.
docs Contains project documentation.
â”– api API documentation for each server and SDK.

Supported Versions

Standard Version Link
OID4VCI OpenID for Verifiable Credential Issuance 1.0 Specification
OID4VP OpenID for Verifiable Presentations 1.0 Specification
SD-JWT RFC 9901 Specification

Feature List

  • OID4VCI
Category Feature Status
Authorization & Flows Authorization Code Flow Supported
Pre-Authorized Code Flow Supported
Credential Formats SD-JWT VC Supported
W3C VC DM(JWT, JSON-LD) Planned
mDoc Format Planned
Endpoints Token Endpoint Supported
Credential Endpoint Supported
Nonce Endpoint Supported
Deferred Endpoint Supported
Notification Endpoint Supported
Credential Offer & Response Credential Offer with authorization_code Supported
Credential Offer with pre-authorized_code Supported
Credential Issuer Metadata Supported
Pushed Authorization Request Planned
Credential Response Encryption Planned
Security Proof(JWT) Supported
PKCE(Proof Key for Code Exchange) Supported
JWE(JSON Web Encryption) Planned
DPoP(Demonstration of Proof-of-Possession) Planned
  • OID4VP
Category Feature Status
Authorization & Flows Same-Device Flow Supported
Cross-Device Flow Supported
Credential Formats SD-JWT VC Supported
W3C VC DM(JWT, JSON-LD) Planned
mDoc Format Planned
Authorization Request Verifiable Presentations Authorization Requests Supported
Scoped Authorization Requests Supported
Self-Issued OpenID Provider Authorization Requests Planned
JWT Secured Authorization Request(JAR) Planned
Authorization Response direct_post Supported
query Supported
fragment Planned
*.jwt Planned
Query & Metadata DCQL(Digital Credentials Query Language) Supported
Client Metadata Supported
Wallet Metadata Planned
Request URI Methods - GET Supported
Request URI Methods - POST Supported
Additional Features Transaction Data Planned
Security Proof(JWT) Supported
JWE(JSON Web Encryption) Planned

Getting Started

Please refer to the Installation and Operation Guide below to get started with OID4VC.

For information on each subproject, please refer to the README.md file in the respective directory.

API Reference Documentation

API documentation for each component can be found in the docs/api directory.

Contributing

For detailed information on contribution procedures and the code of conduct, please refer to CONTRIBUTING.md and CODE_OF_CONDUCT.md.

License

Apache 2.0

About

No description, website, or topics provided.

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •