Cloudsim-auth is part of the Cloudsim project.
This is the authentication server for Cloudsim and other web apps
Dependencies: nodejs 4 and above, gulp (sudo npm install gulp -g)
sudo apt-get install -y nodejs npm nodejs-legacy redis-server
npm install
gulp
Database configuration: Redis for now
How to run tests
Deployment instructions
In cloudsim-grant directory, run:
node generate_jwt_keys.js
Put the result in a .env in the root of the project. The cloudsim-auth server needs both keys, but other servers (cloudsim-sim, cloudsim-portal) only need the public key in their .env file
Cloudsim uses Auth0 for authentication. Please make sure these Auth0 variables are set in the .env file.
AUTH0_DOMAIN
AUTH0_CLIENT_ID
AUTH0_CLIENT_SECRET