-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Auth0 as user authentication (#52)
* Change user authentication to use Auth0 * Update to Go version 1.17 The update and/or vscode plugins did some linting * Fix up auth0 login via api docs page * Change running port from 80 to 8080
- Loading branch information
1 parent
81ea312
commit 43c4e0a
Showing
17 changed files
with
709 additions
and
517 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,6 @@ data/ | |
|
||
*.out | ||
robokache.test | ||
|
||
.vscode | ||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,15 @@ openapi: 3.0.3 | |
|
||
info: | ||
title: Robokache | ||
description: Large object document store for ROBOKOP | ||
version: 4.1.4 | ||
description: Large object document store for qgraph | ||
version: 4.1.5 | ||
contact: | ||
email: [email protected] | ||
license: | ||
name: MIT | ||
url: https://opensource.org/licenses/MIT | ||
security: | ||
- google: [] | ||
- bearerAuth: [] | ||
paths: | ||
/api/document: | ||
get: | ||
|
@@ -239,7 +239,7 @@ components: | |
type: string | ||
example: D8JnjJB5 | ||
securitySchemes: | ||
google: | ||
bearerAuth: | ||
type: http | ||
scheme: bearer | ||
bearerFormat: jwt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,37 @@ | ||
module github.com/NCATS-Gamma/robokache | ||
|
||
go 1.14 | ||
go 1.17 | ||
|
||
require ( | ||
github.com/dgrijalva/jwt-go v3.2.0+incompatible | ||
github.com/gin-gonic/gin v1.6.3 | ||
github.com/auth0/go-jwt-middleware v1.0.1 | ||
github.com/form3tech-oss/jwt-go v3.2.2+incompatible | ||
github.com/gin-gonic/gin v1.7.4 | ||
github.com/jmoiron/sqlx v1.2.0 | ||
github.com/kr/pretty v0.1.0 // indirect | ||
github.com/mattn/go-sqlite3 v1.14.2 | ||
github.com/sirupsen/logrus v1.6.0 | ||
github.com/sirupsen/logrus v1.8.1 | ||
github.com/speps/go-hashids v2.0.0+incompatible | ||
github.com/stretchr/testify v1.4.0 | ||
github.com/stretchr/testify v1.7.0 | ||
google.golang.org/appengine v1.6.7 // indirect | ||
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect | ||
) | ||
|
||
require ( | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/gin-contrib/sse v0.1.0 // indirect | ||
github.com/go-playground/locales v0.14.0 // indirect | ||
github.com/go-playground/universal-translator v0.18.0 // indirect | ||
github.com/go-playground/validator/v10 v10.9.0 // indirect | ||
github.com/golang/protobuf v1.5.2 // indirect | ||
github.com/json-iterator/go v1.1.11 // indirect | ||
github.com/leodido/go-urn v1.2.1 // indirect | ||
github.com/mattn/go-isatty v0.0.13 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/reflect2 v1.0.1 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/ugorji/go/codec v1.2.6 // indirect | ||
golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97 // indirect | ||
golang.org/x/sys v0.0.0-20210806184541-e5e7981a1069 // indirect | ||
golang.org/x/text v0.3.6 // indirect | ||
google.golang.org/protobuf v1.27.1 // indirect | ||
gopkg.in/yaml.v2 v2.4.0 // indirect | ||
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.