OAuth 2.0 | OpenID for Verifiable Credential Issuance | Supported Environments | Contributing | License
OAuth 2.0 - @animo-id/oauth2
An implementation of the OAuth 2.0 Authorization Framework, including extension specifications.
- RFC 9126 - OAuth 2.0 Pushed Authorization Requests
- OAuth 2.0 for First-Party Applications - Draft 0
- RFC 7636 - Proof Key for Code Exchange by OAuth Public Clients
- RFC 9449 - OAuth 2.0 Demonstrating Proof of Possession (DPoP)
- RFC 7662 - OAuth 2.0 Token Introspection
- RFC 9068 JSON Web Token (JWT) Profile for OAuth 2.0 Access Tokens
- RFC 8707 - Resource Indicators for OAuth 2.0
import {
ResourceServer,
AuthorizationServer,
Oauth2Client,
} from "@animo-id/oauth2";
OpenID for Verifiable Credential Issuance - @animo-id/oid4vc
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
, andldp_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";
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.
Is there something you'd like to fix or add? Great, we love community contributions! To get involved, please follow our contribution guidelines.
This project is licensed under the Apache License Version 2.0 (Apache-2.0).