Skip to content

From this moment on, you only need to have an IDHub identity. You no longer need to say hello to the chief, you can easily shuttle in the Amazon rainforest, just one click you can do it.

License

idhubnetwork/idp

Repository files navigation

IDHub Identity Provider(IDHub IdP)

From this moment on, you only need to have an IDHub identity. You no longer need to say hello to the chief, you can easily shuttle in the Amazon rainforest, just one click you can do it.

Feature Overview

  • IDHub Identity
  • SAML Protocol
  • AWS Services

User Manual

Requirements

Configuration

  1. DB: database.yml

  2. Global: config.yml

Installation

  1. Create a MySQL database with name "idp" and services at localhost:3306.

  2. Table Schema with SQL statements in db.sql

  3. Generate RS256 key for JWT

$ ./jwt_rs256.sh
$ ls keystore
  1. Frontend build
$ npm i
$ npm run build
  1. Install go packages
  • using go get
$ go get github.com/labstack/echo
$ go get golang.org/x/sync
$ go get github.com/ethereum/go-ethereum
$ go get gopkg.in/go-playground/validator.v9
$ go get github.com/gobuffalo/pop
$ go get github.com/dgrijalva/jwt-go
$ go get github.com/parnurzeal/gorequest
  • using vendor tool (dep)
$ dep ensure
  1. Startup
$ go run main.go
  1. Try it

License

Apache License 2.0

About

From this moment on, you only need to have an IDHub identity. You no longer need to say hello to the chief, you can easily shuttle in the Amazon rainforest, just one click you can do it.

Resources

License

Stars

Watchers

Forks

Packages

No packages published