-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ORGANIC-443. Added Okta to git-gateway #1
base: master
Are you sure you want to change the base?
Conversation
…jwt validation with Okta's golang lib. Made a few hacks to get it working.
… only work with `Authorization: token`, not `access_token` (would it broke gitlab, bitbucket?).
@@ -1,8 +1,14 @@ | |||
FROM netlify/go-glide:v0.12.3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The original docker has golang 1.8. Some dep fails to build with it.
Makefile
Outdated
@@ -4,7 +4,7 @@ CHECK_FILES?=$$(go list ./... | grep -v /vendor/) | |||
help: ## Show this help. | |||
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {sub("\\\\n",sprintf("\n%22c"," "), $$2);printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) | |||
|
|||
all: lint vet test build ## Run the tests and build the binary. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lint
fails with original master
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It works with newer golang version. It is reenabled.
405e7f9
to
8b2c74f
Compare
…nto auth.go. Got it compiled.
8b2c74f
to
e70ec30
Compare
46e6467
to
57c0690
Compare
57c0690
to
163a708
Compare
760c722
to
76f77fe
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thomas and I discussed these changes and I am good with them.
Created PR onto Netlify's original repo: netlify#24 If they take the patch, we can close this PR. |
RP prepare for review. Will generalize a bit more before sending PR to
netlify
, for examplesAdd some kind of build/run test with circle-ci?(skipped, no admin access to circle-ci)- Summary
- Test plan
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)