idp

command module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2018 License: Apache-2.0 Imports: 16 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
actions
cfg
models
db
jwt

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL