Central Authentication plus Authorization Portal for PEC University of Technology.
The main aim of this project is automation and digitalization of day-to-day work of college, which are at present done manually. We aim to build a central authorization service which can be scaled and will help in development of various other modules to be made under PEC Automation and Digitalization initiative.
Authorization portal is based on OAuth 2.0 framework (Not all features are supported till now).
To build and run this project, you will need following packages
- Java 8
- gradle
- Node.js (v4.6.0 or higher)
Building this project,
- First create some environment variables as described below,
$ export ADMIN_ACCOUNT_ID=YOUR_ACCOUNT_ID
$ export ADMIN_PASSWORD=YOUR_SECRET_PASSWORD
$ export ADMIN_EMAIL=YOUR_EMAIL_ID
$ export THIS_CLIENT_ID=example
$ export THIS_CLIENT_SECRET=YOUR_SECRET
(For debugging purposes, you can set these values to anything)
- Install npm dependencies,
$ npm install
# npm install -g webpack
- Run webpack to render React Components,
$ webpack --watch --progress
- In another terminal, run following command to start server,
$ ./gradlew bootRun
- Now open the browser and hit
http://localhost:8080/home
, Enter your username and password as filled above.