All Projects → bcgov → vc-authn-oidc

bcgov / vc-authn-oidc

Licence: Apache-2.0 license
No description or website provided.

Programming Languages

C#
18002 projects
shell
77523 projects
HTML
75241 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to vc-authn-oidc

aries-agent-test-harness
Aries agent test framework, with agent backchannel support
Stars: ✭ 43 (-45.57%)
Mutual labels:  hyperledger, von, hyperledger-indy, verifiable-organizations-network, verifiable-credentials, trust-over-ip, citz
indy-vdr
A library and proxy server for interacting with Hyperledger Indy Node ledger instances
Stars: ✭ 31 (-60.76%)
Mutual labels:  hyperledger, von, hyperledger-indy, verifiable-organizations-network, verifiable-credentials, trust-over-ip
issuer-kit
Verifiable Credential Issuer Starter Kit
Stars: ✭ 33 (-58.23%)
Mutual labels:  hyperledger, von, hyperledger-indy, verifiable-organizations-network, verifiable-credentials, citz
indyscan
Hyperldger Indy Transaction Explorer
Stars: ✭ 52 (-34.18%)
Mutual labels:  hyperledger, hyperledger-indy
awesome-self-sovereign-identity
An awesome list of self-sovereign identity resources.
Stars: ✭ 161 (+103.8%)
Mutual labels:  hyperledger-indy, verifiable-credentials
verity
Evernym Verity is a decentralized protocol platform for issuing and verifying digital credentials. This repository contains the back-end service which is accessed using the Verity SDK. This is a read-only mirror. Contributions are welcomed at https://gitlab.com/evernym .
Stars: ✭ 18 (-77.22%)
Mutual labels:  hyperledger-indy, verifiable-credentials
blockchain-insurance
Blockchain Car Insurance with Smart Contracts on Hyperledger
Stars: ✭ 72 (-8.86%)
Mutual labels:  hyperledger
aries-framework-dotnet
Aries Framework .NET for building multiplatform SSI services
Stars: ✭ 68 (-13.92%)
Mutual labels:  hyperledger
hyperledger-fabric-graphql-boilerplate
Hyperledger Fabric GraphQL Boilerplate
Stars: ✭ 44 (-44.3%)
Mutual labels:  hyperledger
Contracts
All WiBX blockchain chain code
Stars: ✭ 20 (-74.68%)
Mutual labels:  hyperledger
bdk
Streamlined blockchain deployment kit for Hyperledger Fabric.
Stars: ✭ 43 (-45.57%)
Mutual labels:  hyperledger
Hyperledger-Fabric-Install
Install Hyperledger Fabric 1.0 Quick Start
Stars: ✭ 16 (-79.75%)
Mutual labels:  hyperledger
platform-services
Collection of platform related tools and configurations
Stars: ✭ 11 (-86.08%)
Mutual labels:  citz
aries-vcx
AriesVCX is a Rust framework for building web and mobile applications issuing, holding, presenting and verifying Verifiable Credentials in accordance to the standards set by Hyperledger Aries.
Stars: ✭ 33 (-58.23%)
Mutual labels:  trust-over-ip
Hyperledger-TWGC
超级账本中国技术工作组
Stars: ✭ 43 (-45.57%)
Mutual labels:  hyperledger
hurley
The development environment toolset for blockchain projects
Stars: ✭ 79 (+0%)
Mutual labels:  hyperledger
bcdata
An R package for searching & retrieving data from the B.C. Data Catalogue
Stars: ✭ 68 (-13.92%)
Mutual labels:  citz
fablo
Fablo is a simple tool to generate the Hyperledger Fabric blockchain network and run it on Docker. It supports RAFT and solo consensus protocols, multiple organizations and channels, chaincode installation and upgrade.
Stars: ✭ 121 (+53.16%)
Mutual labels:  hyperledger
fabric-cop
This is a read-only mirror of https://gerrit.hyperledger.org/r/#/admin/projects/fabric-cop no pull requests accepted
Stars: ✭ 13 (-83.54%)
Mutual labels:  hyperledger
design-system
British Columbia Government Design System for Digital Services
Stars: ✭ 33 (-58.23%)
Mutual labels:  citz

img License

Verifiable Credential Authentication with OpenID Connect (VC-AuthN OIDC)

This repository is the home of a project to achieve verifiable credential based authentication using OpenID Connect.

See here for background into how this integration is defined.

For configuration instructions, refer to the configuration guide.

Make sure to read the best practices to be used when protecting a web application using vc-authn-oidc.

A Quick Demo

Pre-requisites

You will need an instance of von-network running in Docker

Running the demo

The following demo starts up the VCAuthn-Service and its associated dependencies, along with an instance of keycloak.

To start the demo run the following commands from within the docker folder:

    ./manage build
    ./manage start

Once you have the service running, a presentation request configuration must be configured on the service. You can configure this through either browsing to the swagger interface here or running the following curl command with a valid request body

    curl -X POST "http://localhost:5001/api/vc-configs" -H "accept: application/json" -H "X-Api-Key: controller-api-key" -H "Content-Type: application/json-patch+json" -d "{ \"id\": \"test-request-config\", \"subject_identifier\": \"email\", \"configuration\": { \"name\": \"Basic Proof\", \"version\": \"1.0\", \"requested_attributes\": [ { \"name\": \"email\", \"restrictions\": [] }, { \"name\": \"first_name\", \"restrictions\": [] }, { \"name\": \"last_name\", \"restrictions\": [] } ], \"requested_predicates\": [] }}"

The API is protected with an APIKey which defaults to Test in the demo

An example of a valid presentation request configuration is the following.

{
  "id": "test-request-config",
  "subject_identifier": "email",
  "configuration": {
    "name": "Basic Proof",
    "version": "1.0",
    "requested_attributes": [
      {
        "name": "email",
        "restrictions": []
      },
      {
        "name": "first_name",
        "restrictions": []
      },
      {
        "name": "last_name",
        "restrictions": []
      }
    ],
    "requested_predicates": []
  }
}

After configuring this, if you used the above presentation request configuration example, you can browse to keycloaks login page with this link

From here you can click the vc-authn option to try out the flow. Clicking this should redirect your browser to the VC-Authn service and display a QR-Code base challenge.

For more interactive demos, refer to the demo readme

Project Affiliation

This project was formed from the code with us opportunity executed by Mattr funded by BCGov.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].