Skip to content

Commit 08b2928

Browse files
committed
update: README.md
1 parent 5fc7341 commit 08b2928

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
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

55
Being 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

1113
1. Install docker
1214
2. 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
3638
curl --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
5961
curl --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)

0 commit comments

Comments
 (0)