Skip to content

saengowp/chulassomock

Repository files navigation

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

About

CAS server for mocking ChulaSSO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published