File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11## Chula SSO
22
3- A standalone chula sso based on [ chula-sso] ( https://account.it.chula.ac.th/wiki/doku.php?id=how_does_it_work )
3+ A standalone chula- sso-mock based on [ chula-sso] ( https://account.it.chula.ac.th/wiki/doku.php?id=how_does_it_work )
44
55Being used in development by [ Piyaphat Pinyo] ( https://www.github.com/remove158 )
66
7+ Please feel free to use with [ https://sso.piyaphat.com ] ( https://sso.piyaphat.com )
8+
79## Usage
810
9- Docker image is available at [ Docker ] ( https://github.com/remove158/chula-sso/pkgs/container/chula-sso )
11+ Docker images are available on the [ GitHub Packages ] ( https://github.com/remove158/chula-sso/pkgs/container/chula-sso ) .
1012
11131 . Install docker
12142 . Download the image: ` docker pull ghcr.io/remove158/chula-sso:latest `
@@ -34,7 +36,7 @@ The configuration is done by the following environment variables. (see [`docker
3436
3537``` sh
3638curl --request GET \
37- --url ' http ://localhost:8080 /login?service=https://www.google.com'
39+ --url ' https ://sso.piyaphat.com /login?service=https://www.google.com'
3840```
3941
4042- Response 302 Found
@@ -57,10 +59,10 @@ curl --request GET \
5759
5860``` sh
5961curl --request POST \
60- --url ' http ://localhost:8080 /serviceValidation' \
62+ --url ' https ://sso.piyaphat.com /serviceValidation' \
6163 --header ' DeeAppId: test' \
6264 --header ' DeeAppSecret: test' \
63- --header ' DeeTicket: test '
65+ --header ' DeeTicket: 1b50cf0d-ceed-46da-a672-4c61060ece8d '
6466```
6567
6668- Response 200 (application/json)
You can’t perform that action at this time.
0 commit comments