idp integration for mcs (#75)

This PR adds support for oidc in  mcs, to enable idp
authentication you need to pass the following environment variables and
restart mcs.

```
MCS_IDP_URL=""
MCS_IDP_CLIENT_ID=""
MCS_IDP_SECRET=""
MCS_IDP_CALLBACK=""
```
This commit is contained in:
Lenin Alevski
2020-05-01 08:38:52 -07:00
committed by GitHub
parent f3d7e61ddb
commit 44d8e9b975
36 changed files with 2276 additions and 80 deletions

View File

@@ -22,7 +22,7 @@ assets:
test:
@(go test -race -v github.com/minio/mcs/restapi/...)
@(go test -race -v github.com/minio/mcs/pkg/auth)
@(go test -race -v github.com/minio/mcs/pkg/auth/...)
coverage:
@(go test -v -coverprofile=coverage.out github.com/minio/mcs/restapi/... && go tool cover -html=coverage.out && open coverage.html)