- golang
- gRPC
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- golang 1.18 or later
- docker
- makefile
- Clone the project from RNKM65 Auth
- Import project
- Copy
config.example.yaml
inconfig
and paste it in the same location then remove.example
from its name. - Download dependencies by
go mod download
- Run
go test -v -coverpkg ./... -coverprofile coverage.out -covermode count ./...
ormake test
- Run
docker-compose up -d
ormake compose-up
- Run
go run ./src/.
ormake server
- Run
make proto
- Make sure you follow the
Running
step - Go to
http://localhost:8080/html/login.html?service=https://google.com
- Login (you can fill up with any things)
- The ticket will be in the query param
Special thanks to saengowp for Chula SSO Mock