When developing or testing the application locally, you need to set the necessary headers to simulate the authentication process handled by Shibboleth in a production environment.
eppn: The unique identifier for the user.eduPersonAffiliation: The user's affiliation (optional).preferredlanguage: The user's preferred language (optional).hyGroupCn: The user's group (optional).displayName: The user's display name (optional).
After cloning the repository, navigate to the project directory and run: npm install
This will install all the necessary dependencies.
Create .env file to host environment variables DB_HOST=http://localhost:8000 ALLOWED_ORIGIN=http://localhost:3000 URL_SIGNER_KEY=whatever
This project is based on a GitLab Project Template.
Improvements can be proposed in the original project.
This template is compatible with Auto DevOps.
If Auto DevOps is not already enabled for this project, you can turn it on in the project settings.
This template has a fully-automated dev setup for Gitpod.
If you open this project in Gitpod, you'll get all Node dependencies pre-installed.