Skip to content

Cloud-native app that allows organisations to manage their VeraId members and the issuance of their respective bundles.

License

Notifications You must be signed in to change notification settings

relaycorp/veraid-authority

Repository files navigation

VeraId Authority

This is a multi-tenant, cloud-native app that allows organisations to manage their VeraId members and the issuance of their respective Member Bundles (which they'd subsequently use to produce VeraId signatures).

Installation and usage

Documentation for operators and API client implementers is available on docs.relaycorp.tech.

Development

This app requires the following system dependencies:

  • Node.js 22.
  • Docker and Docker Compose.

To start the app, simply run:

docker compose up -d

Automated testing

The unit test suite can be run with the standard npm test.

If you'd like to run some tests against the real instance of the app, the simplest way to do that is to add/modify functional tests and then run npm run test:integration (alternatively, you can use your IDE to only run the test you're interested in).

Manual testing

If for whatever reason you want to manually test the app, you can access the services at:

To make authenticated requests to the API server, you need to get an access token from the mock authorisation server first. For example, to get an access token for the super admin (admin@veraid.example) using the OAuth2 client credentials flow, run:

POST http://localhost:8083/default/token
Content-Type: application/x-www-form-urlencoded

grant_type=client_credentials&client_id=super-admin&client_secret=s3cr3t&scope=default

You can then make authenticated requests to the API server by setting the Authorization header to Bearer <access_token>.

Alternatively, use client_id=user to get an access token for a regular user.

Contributions

We love contributions! If you haven't contributed to a Relaycorp project before, please take a minute to read our guidelines first.

Licence

This project is fair source. See LICENSE for details.

About

Cloud-native app that allows organisations to manage their VeraId members and the issuance of their respective bundles.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages