Skip to content
/ GNARLY Public

Example VC API thats supports BBS+, VC-JWT and JsonWebSignature2020

License

Notifications You must be signed in to change notification settings

OR13/GNARLY

Repository files navigation

GNARYLY

VC Data Model + OAS 3.0 + OAuth2

This repo was created to as a proposal for changes to the VC-HTTP-API.

Main improvements over the current API:

  1. Supports VC-JWT
  2. Supports JsonWebSignature2020
  3. Supports Authorization
  4. Supports BBS+ Selective Disclosure Presentation Exchange

API Documentation

npm run build:docs
npm run serve:docs

Visit http://localhost:5000

Setting Up Authorization

  1. Create an API in Auth0

create an api that supports scopes

  1. Create a Scopes in Auth0 from the OAS 3.0 Spec guidelines

setup scopes

  1. Configure OAS 3.0 YAML to use Auth0

use scopes from oas3

If you are interested in adding additional security schemes, checkout:

OpenAPI Specification

Funny how they don't seem to be listing GNAP or RAR there... ...almost like they are not mature enough to use yet.

About

Example VC API thats supports BBS+, VC-JWT and JsonWebSignature2020

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published