Short guide:
How to run locally:
- Install node and mongodb
- Make sure mongodb is running
- Clone the repo
- npm install
- Contact dotkom to get url, client id and client secret for openid
- Create .env file in root
- npm start
What you need in .env file:
HOST_URL = FROM DOTKOM
CLIENT_ID = FROM DOTKOM
CLIENT_SECRET = FROM DOTKOM
REDIRECT_URI = http://localhost:8080/auth
SCOPE = 'openid profile onlineweb4 email' // this will give you all required information
COOKIE_SECRET = AnyRandomWord // Just dont use this for safety reasons