APIs for login AWS with IDHUB account and authority management.
- SAML Response
- SAML Identity Provider
- SAML Metadata
- Go
- MySQL
- OpenSSL
- Create a MySQL database with name "saml_idhub_api" and services at localhost:3306.
- Git clone
- Install go packages
$ go get github.com/astaxie/beego
$ go get github.com/astaxie/beego/orm
$ go get github.com/go-sql-driver/mysql
$ go get github.com/goware/saml
$ go get github.com/nu7hatch/gouuid
$ go get github.com/stretchr/testify/assert
$ go get github.com/kardianos/osext
$ go get github.com/astaxie/beego/config
- Transfer to project directory
$ cd saml_idhub_api
- Build
$ go build main.go
- Add key and cert directory
$ mkdir privateKey
$ mkdir certificate
- Change configure
conf/app.conf
- Run
$ ./main