Skip to content

idhubnetwork/saml_idhub_api

Repository files navigation

IDHub SAML API

APIs for login AWS with IDHUB account and authority management.

Feature Overview

  • SAML Response
  • SAML Identity Provider
  • SAML Metadata

Requirements

  • Go
  • MySQL
  • OpenSSL

Installation

  1. Create a MySQL database with name "saml_idhub_api" and services at localhost:3306.
  2. Git clone
  3. 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
  1. Transfer to project directory
$ cd saml_idhub_api
  1. Build
$ go build main.go
  1. Add key and cert directory
$ mkdir privateKey
$ mkdir certificate
  1. Change configure conf/app.conf
  2. Run
$ ./main

License

The MIT License (MIT)

About

APIs for login AWS with IDHUB account and authority management.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published