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.
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
Docker image is available at Docker
- Install docker
- Download the image:
docker pull pay2630/chulassomock
- Run:
docker run pay2630/chulassomock
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 |