---
# System prepended metadata

title: OIDC Verifier Sample

---

# OIDC Verifier Sample

- Setup the verifier ecosystem (in DEV environment)
  - Create new ecosystem
  - Create a sample template for a credential (citizenship card, vaccination, event ticket)
  - Issue a credential to person with email A
- Setup a JS based example
  - Integrate OIDC4VP flow using the ecosystem and template created above
  - Should be pure client application, no backend
  - Using the oidc ts library

As a user, I will arrive at verifier web site, and be able to present my credential in order to perform an action

Action = Login with Citizenship Card

`trinsic-id/server` will have `server` in `oidc-app-service`
sample client in `client` folder


## Request Parameters

`trinsic:schema` - string or string array of template schema URLs that the credential should be issued to
`trinsic:issuer` - string or string array of issuer DIDs that the credential can be issued by
`trinsic:egf` - string or string array of ecosystem governance framework URIs that the credential can be part of 

> Note: string arrays should be converted into single string of comma separated values when making the authorize request. This is generally handled well by most libraries by default