Commit graph

387 commits

Author SHA1 Message Date
bobbyrullo
75488c0e78 Merge pull request #250 from bobbyrullo/fix_dex
db, functional: make value column in key not pkey
2015-12-28 16:12:33 -08:00
Bobby Rullo
c1f8effe1a db, functional: make value column in key not pkey
go-oidc increased the size of the generated keys, which were too large
to be used as primary keys in postgres.
2015-12-28 16:02:16 -08:00
Eric Chiang
3bfbf7050e Godeps: add github.com/spf13/cobra to vendored packages 2015-12-28 15:58:05 -08:00
Eric Chiang
22c20e4e32 cmd: add version subcommand to dexctl
closes #220
2015-12-28 15:56:43 -08:00
Eric Chiang
8e5115ce73 cmd: use spf13/cobra for dexctl cli logic 2015-12-28 15:55:11 -08:00
Eric Chiang
e2b4061fe5 Merge pull request #248 from ericchiang/functional_ci
:* run all functional tests through travis CI
2015-12-28 14:40:39 -08:00
Eric Chiang
4fa7e27ab5 :* run all functional tests through travis CI 2015-12-28 14:33:16 -08:00
bobbyrullo
71f5021678 Merge pull request #246 from bobbyrullo/maybe
server: better UX when remote ID already exists
2015-12-23 18:17:54 -08:00
Bobby Rullo
dc828825e6 server: better UX when remote ID already exists
Instead of cryptic message with nowhere to, give them the choice to
login with that account or register.
2015-12-23 17:11:03 -08:00
bobbyrullo
9f0487538d Merge pull request #244 from jhuntoo/master
Update k8s README to --template syntax
2015-12-22 22:16:10 -08:00
bobbyrullo
6c09576668 Merge pull request #242 from ericchiang/duplicate_login
server: fix flow when user logs in through wrong connector
2015-12-22 15:40:19 -08:00
Jonathon Lee
96553c1793 Update k8s README to --template syntax 2015-12-22 23:33:20 +00:00
Eric Chiang
ad6e331860 server: fix flow when user logs in through wrong connector
This cleans up the code that deals with a user attempting to login
through a different connector than they registered with. The only
functional change is that `newLoginURLFromSession` is now called
with register = false when a user has an existing account.
2015-12-22 13:20:40 -08:00
Eric Chiang
1675acf21b Merge pull request #240 from ericchiang/reduce_backoff
cmd: reduce backoff max when worker is waiting for connectors
2015-12-22 10:57:22 -08:00
Eric Chiang
3776c74c15 cmd: reduce backoff max when worker is waiting for connectors
fixes #177
2015-12-22 10:25:27 -08:00
bobbyrullo
0f7fed8d5b Merge pull request #236 from bobbyrullo/push_it_good
.travis.yml: Push to repo after success
2015-12-21 15:44:42 -08:00
bobbyrullo
630e5f2dcb Merge pull request #237 from ericchiang/postgres_image
*: use coreos postgres image for travis ci
2015-12-21 15:41:53 -08:00
Bobby Rullo
a60a4d25bf .travis.yml: Push to repo after success. 2015-12-21 15:40:29 -08:00
Eric Chiang
064b3bae47 *: use coreos postgres image for travis ci
Moved postgres image from personal account to quay.io/coreos.
2015-12-21 15:00:04 -08:00
Eric Chiang
c4767077aa Merge pull request #234 from ericchiang/travis_functional
*: add functional tests to travis config (WIP)
2015-12-21 14:41:01 -08:00
Eric Chiang
5dd08a8dd4 *: add functional tests to travis config 2015-12-21 14:37:50 -08:00
Eric Chiang
5192cac342 Merge pull request #235 from bobbyrullo/new_go_oidc
Godeps: update github.com/coreos/go-oidc
2015-12-21 12:01:10 -08:00
Bobby Rullo
9243107dab Godeps: update github.com/coreos/go-oidc 2015-12-21 11:41:00 -08:00
bobbyrullo
376b1bcb67 Merge pull request #209 from ericchiang/conn_docs
connector: document Connector and ConnectorConfig interfaces
2015-12-21 10:00:22 -08:00
bobbyrullo
b40de37e4e Merge pull request #233 from ericchiang/generate
don't call go-bindata on every build
2015-12-21 09:49:31 -08:00
Eric Chiang
a7138b3cfd db: rebuild miration assets using go generate 2015-12-21 09:45:53 -08:00
Eric Chiang
6cb3146b09 build,db: don't call go-bindata on every build
Add go generate rule to generate migration assets.
2015-12-21 09:43:45 -08:00
Eric Chiang
be6944555e Merge pull request #231 from jonboulle/master
*: add .travis.yml and status badge to README
2015-12-21 08:45:32 -08:00
Jonathan Boulle
da4b5d972b *: add .travis.yml and status badge to README 2015-12-21 14:58:34 +01:00
Eric Chiang
a5feafc80d connector: document Connector and ConnectorConfig interfaces
closes #203
2015-12-17 16:33:54 -08:00
bobbyrullo
2853ac71f3 Merge pull request #215 from ericchiang/fix_panic
cmd, db: verify at least one secret is passed to --key-secrets
2015-12-17 09:24:47 -08:00
bobbyrullo
dddc4c1206 Merge pull request #223 from ericchiang/fix_tests
server: fix tests
2015-12-17 09:24:01 -08:00
Eric Chiang
49389c9b90 cmd, db: verify at least one secret is passed to --key-secrets
Passing an empty list to the overlord or worker's --key-secrets
flag currently causes an out of range panic. Always check to ensure
there's at least one element passed.

Fixes #130
Fixes #217
2015-12-16 20:28:21 -08:00
Eric Chiang
99e1163972 server: fix tests
In #210 a field name in the provider config was corrected. However
the old, and incorrect, value was hard coded in the tests. This
change updates the test case to hold the correct field name.

There are no other references to the old name in dex or its
vendored packages.
2015-12-16 18:20:14 -08:00
Eric Chiang
acfcca852e Merge pull request #216 from ericchiang/page_titles
static: use --issuer-name as title for public facing pages
2015-12-16 15:18:05 -08:00
bobbyrullo
c95a769ad6 Merge pull request #213 from ericchiang/naming_fix
Godeps: update github.com/coreos/go-oidc/oidc to fix field name
2015-12-16 15:09:13 -08:00
Brian Waldon
35dfd8adb0 Merge pull request #214 from bcwaldon/doc-fix
docs: fix invocation of test-functional
2015-12-16 14:31:40 -08:00
bobbyrullo
b5164994e1 Merge pull request #221 from coreos/release-scripts
Release scripts
2015-12-16 14:30:27 -08:00
Brian Waldon
80a71d84c2 release: script the building of release artifacts 2015-12-16 14:28:34 -08:00
Brian Waldon
c3dd998441 git-version: script detection of git tag/commit 2015-12-16 14:28:20 -08:00
Eric Chiang
4c9d2d670a static: use --issuer-name as title for public facing pages
Closes #142
2015-12-16 10:56:13 -08:00
Brian Waldon
cb6a418226 docs: fix invocation of docker in dev guide 2015-12-16 10:37:03 -08:00
Eric Chiang
271822bff1 Godeps: update github.com/coreos/go-oidc/oidc to fix field name
Correct provider config field "id_token_alg_values_supported" to
"id_token_signing_alg_values_supported".

Fixes #212
2015-12-15 10:31:05 -08:00
Eric Chiang
bf13c3bc37 Merge pull request #210 from ericchiang/update_go_oidc
Godeps: update coreos/go-oidc to include OIDC race condition fixes
2015-12-15 09:46:26 -08:00
Eric Chiang
faee39fbf8 Godeps: update coreos/go-oidc to include OIDC race condition fixes
Update github.com/coreos/go-oidc/... to include coreos/go-oidc#17
which fixes a race condition in the OIDC connector.
2015-12-10 10:00:46 -08:00
Eric Chiang
f63ec158a5 Merge pull request #197 from ericchiang/oauth2_connector
connector: github and bitbucket oauth2 connectors added
2015-12-10 08:56:09 -08:00
Eric Chiang
2d611ad508 Merge pull request #208 from ericchiang/parse_int
db: strconv.ParseInt specify base 10
2015-12-09 19:12:36 -08:00
Eric Chiang
9f3bf0d160 db: strconv.ParseInt specify base 10
closes #99
2015-12-09 14:47:21 -08:00
Eric Chiang
3415a79e22 Documentation: add docs for github and bitbucket connectors 2015-12-08 10:21:52 -08:00
Eric Chiang
f2c3dbc5e6 static, server: add styles for github and bitbucket connectors
Add icons and styles for github and bitbucket buttons.
2015-12-08 10:20:13 -08:00