Skip to content

OpenID for Verifiable Credentials - TypeScript

Notifications You must be signed in to change notification settings

animo/oid4vc-ts

Repository files navigation

Animo Logo

OpenID for Verifiable Credentials - TypeScript

Powered by   Animo Logo


OAuth 2.0  |  OpenID for Verifiable Credential Issuance  |  Supported Environments  |  Contributing  |  License


OAuth 2.0 - @animo-id/oauth2

@animo-id/oauth2 version

An implementation of the OAuth 2.0 Authorization Framework, including extension specifications.

import {
  ResourceServer,
  AuthorizationServer,
  Oauth2Client,
} from "@animo-id/oauth2";

OpenID for Verifiable Credential Issuance - @animo-id/oid4vc

@animo-id/oid4vci version

An implementation of the OpenID for Verifiable Credential Issuance specification.

  • Authorization Code Flow and Pre-Authorized Code Flow
  • Credential format profiles vc+sd-jwt, mso_mdoc, jwt_vc_json, jwt_vc_json-ld, and ldp_vc (only object validation, no credential implementation)
  • Proof type jwt
  • Draft 14, with backwards compatibility for draft 13 (ID1), and draft 11
  • Support presentation during issuance using Authorization Challenge and OpenID4VP.
import {
  Oid4vciIssuer
  Oid4vciClient,
} from "@animo-id/oid4vci";

Supported Environments

This library is platform agnostic and support Node.JS, React Native and browsers out of the box, as long as it provides an implementation of URL and URLSearchParams. However because of this it is required to provide some callbacks for simple things like hashing, generate random bytes, etc. If no global fetch is available in your environment, this also need to be provided in the callbacks.

Contributing

Is there something you'd like to fix or add? Great, we love community contributions! To get involved, please follow our contribution guidelines.

License

This project is licensed under the Apache License Version 2.0 (Apache-2.0).