Hydra based consent application for Aspen Mesh demos
593
This is an exemplary consent application that implements ORY Hydra's consent flow. It uses NodeJS and express.
A consent application is responsible for:
You can use this demo for a rough guide on how to implement the consent flow using NodeJS. The only important source file is this, everything else was created using express init ..
To run this application using docker
$ docker run --name hydra-consent-app-express \
-p 3000:8080 \
-e HYDRA_URL="http://localhost:4444"" \
-e HYDRA_CLIENT_ID="demo" \
-e HYDRA_CLIENT_SECRET="demo" \
boeboe/hydra-consent-app-express
This demo consent application contains only one user
const user = {
email: '[email protected]',
password: 'secret',
email_verified: true,
user_id: 'user:12345:aspenmesh',
name: 'Aspen Mesh',
nickname: 'Aspen',
}
docker pull boeboe/hydra-consent-app-express:latest