Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.23 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.23 KB

ChulaSSOMock

ChulaSSOMock is a mock authentication server that replicate the functionality of https://account.it.chula.ac.th. For more information on how ChulaSSO work, see ChulaSSO Wiki.

Functionality

ChulaSSOMock can be used as a substitute to ChulaSSO when developing a service that need to authenticate Chula student. ChulaSSOMock can offer following advantages :

  • Reduced security risk. No need to distribute the real app secret.
  • Impersonate any student's id and name
  • Accurate behaviour

Usage

Docker image is available at Docker

  1. Install docker
  2. Download the image: docker pull pay2630/chulassomock
  3. Run: docker run pay2630/chulassomock

Configuration

The configuration is done by the following environment variables. (see docker run on how to set it)

Name Environment Variable Default
DeeAppId APPID APPID
DeeAppSecret APPSECRET APPSECRET
Port PORT 8080