Commit Graph

2056 Commits

Author SHA1 Message Date
Stephan Renatus
27b8426704
Dockerfile: build with golang 1.12.8
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2019-08-14 10:24:17 +02:00
Stephan Renatus
d328a5ebaa
Merge pull request #1516 from tpdownes/doc/oauth2_config
Add examples for recent additions to oauth2 configuration options
2019-08-13 10:24:10 +02:00
Tom Downes
963b8e992d
Add examples for recent additions to oauth2 configuration options 2019-08-09 11:58:37 -05:00
Stephan Renatus
d9f6ab4a68
Merge pull request #1512 from venezia/add_reflection
Add reflection to gRPC API (configurable)
2019-08-07 13:56:33 +02:00
Michael Venezia
430357b14e
vendor: revendor 2019-08-07 07:38:09 -04:00
Michael Venezia
b65966d744
cmd/dex: adding reflection to grpc api, enabled through configuration 2019-08-07 07:37:39 -04:00
Stephan Renatus
e1afe771cb
Merge pull request #1505 from MarcDufresne/show-login-page
Add option to always display connector selection even if there's only one
2019-08-07 09:23:42 +02:00
Stephan Renatus
89e43c198b
Merge pull request #1504 from MarcDufresne/template-custom-data
Allow arbitrary data to be passed to templates
2019-08-07 09:19:14 +02:00
Marc-André Dufresne
0dbb642f2c
Add option to always display connector selection even if there's only one 2019-08-06 13:18:46 -04:00
Marc-André Dufresne
d458e882aa
Allow arbitrary data to be passed to templates 2019-08-06 13:14:53 -04:00
Stephan Renatus
bc02006b45
Merge pull request #1510 from momokatte/test-invalid-callbacks
Add tests for some callback handler error conditions
2019-08-06 09:58:40 +02:00
Mike O
43d1a044bd Add tests for some callback handler error conditions 2019-08-05 16:02:28 -07:00
Nándor István Krácser
526e078366
Merge pull request #1509 from venezia/fix-go-lint-v2
Adjusting Makefile so that `golint` will compile
2019-08-03 13:56:20 +02:00
Michael Venezia
c54ddc460d
Adjusting Makefile so that golint will compile 2019-08-02 17:34:25 -04:00
Stephan Renatus
d36e6c26ee
Merge pull request #1490 from momokatte/master
Return HTTP 400 for invalid state parameter
2019-08-02 09:12:40 +02:00
Mike O
d03a43335e Return HTTP 400 for invalid state parameter 2019-08-01 16:22:53 -07:00
Stephan Renatus
6ae11a1cfe
Merge pull request #1501 from dexidp/sr/bump-all-deps
update all deps
2019-07-31 09:01:39 +02:00
Stephan Renatus
291cd9e01c
regenerate protobuf code
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2019-07-31 08:16:18 +02:00
Stephan Renatus
ea7fd6d470
cmd/dex: adapt to prometheus API change
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2019-07-31 08:09:58 +02:00
Stephan Renatus
076cd77469
run 'go get -u; make revendor'
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2019-07-31 08:09:38 +02:00
Stephan Renatus
7c1b4b3005
Merge pull request #1502 from dexidp/sr/fix-log-formatting-in-VerifyPassword-grpc
server/api: fix logging in VerifyPassword
2019-07-30 15:06:48 +02:00
Stephan Renatus
231e571c3c
server/api: fix logging in VerifyPassword
Before:

    msg="api: password check failed : %vcrypto/bcrypt: hashedPassword is not the hash of the given password"

After:

    msg="api: password check failed : crypto/bcrypt: hashedPassword is not the hash of the given password"

Signed-off-by: Stephan Renatus <srenatus@chef.io>
2019-07-30 14:53:33 +02:00
Stephan Renatus
128d5da89e
Merge pull request #1500 from dexidp/sr/fix-some-lint-issues
*: fix some lint issues
2019-07-30 11:41:27 +02:00
Stephan Renatus
d9487e553b
*: fix some lint issues
Mostly gathered these using golangci-lint's deadcode and ineffassign
linters.

Signed-off-by: Stephan Renatus <srenatus@chef.io>
2019-07-30 11:29:08 +02:00
Joel Speed
e2ddefff31
Merge pull request #1439 from sks/feature/fail_on_invalid_config
Return config validation errors in one go
2019-07-30 11:00:17 +02:00
Nándor István Krácser
72f5596671
Merge pull request #1498 from mkontani/fix/mysql-query-sample
Doc/storage.md: fix mysql sample query
2019-07-29 21:19:41 +02:00
mkontani
c067761df6 fix mysql sample query 2019-07-30 03:49:53 +09:00
Nándor István Krácser
0aee5be625
Merge pull request #1497 from dexidp/gitlab-username-as-id
connector/gitlab: implement useLoginAsID as in GitHub connector
2019-07-28 19:56:16 +02:00
Nandor Kracser
ff34e570b4 connector/gitlab: implement useLoginAsID as in GitHub connector 2019-07-28 19:49:49 +02:00
Stephan Renatus
6e98c04f9b
Merge pull request #1446 from maksd/microsoft-groups-uuid-whitelist
microsoft: option for group UUIDs instead of name and group whitelist
2019-07-25 16:21:48 +02:00
Stephan Renatus
fd53c0a3bb
Merge pull request #1496 from srenatus/sr/add-connector-id-to-example-app
add connector_id to example app
2019-07-25 16:21:28 +02:00
Maxime Desrosiers
458585008b
microsoft: option for group UUIDs instead of name and group whitelist 2019-07-25 09:14:33 -04:00
Stephan Renatus
8561a66365
server/{handler,oauth2}: cleanup error returns
Now, we'll return a standard error, and have the caller act upon this
being an instance of authErr.

Also changes the storage.AuthRequest return to a pointer, and returns
nil in error cases.

Signed-off-by: Stephan Renatus <srenatus@chef.io>
2019-07-25 13:40:06 +02:00
Stephan Renatus
d7c7d42466
cmd/example-app: check all errors, pass claims as string to renderToken
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2019-07-24 12:26:51 +02:00
Stephan Renatus
c4e0587df1
cmd/example-app: expose connector_id
As a piece of "living documentation" for #1481.

Signed-off-by: Stephan Renatus <srenatus@chef.io>
2019-07-24 12:17:14 +02:00
Joel Speed
20a858da3b
Merge pull request #1495 from pbochynski/patch-1
Update ADOPTERS.md
2019-07-24 08:51:10 +01:00
Piotr
74023ba9ad
Update ADOPTERS.md
Add Kyma project as an adopter.
2019-07-24 08:50:49 +02:00
Stephan Renatus
9c211132b2
Merge pull request #1494 from tanmaykm/patch-1
Update Adopters.md
2019-07-24 08:27:51 +02:00
Tanmay Mohapatra
56f8e60545 Update Adopters.md
Adding JuliaBox to the list of production adopters of Dex.
2019-07-23 22:48:29 -04:00
Sabith K Soopy
6769a3b18e Errors should not start with caps
- https://github.com/dexidp/dex/pull/1264#discussion_r253264017

Signed-off-by: Sabith <sabithksme@gmail.com>
2019-07-23 08:17:06 -07:00
Sabith K Soopy
6ccb96ff74 Add some test to validate the configuration 2019-07-23 08:16:16 -07:00
Stephan Renatus
e3203382fc
Merge pull request #1493 from srenatus/sr/adopters
ADOPTERS: replace Documentation/production-users.md, add Chef
2019-07-23 17:08:11 +02:00
Stephan Renatus
7409d16541
ADOPTERS: add pusher
Co-Authored-By: Joel Speed <Joel.speed@hotmail.co.uk>
2019-07-23 16:58:26 +02:00
Stephan Renatus
bc27a617c5
Merge pull request #1485 from bonifaido/mysql-storage
MySQL storage - Take 2
2019-07-23 15:25:15 +02:00
Stephan Renatus
b8cdc88803
Merge pull request #1492 from srenatus/sr/add-bonifaido-to-maintainers
MAINTAINERS: add @bonifaido
2019-07-23 15:03:43 +02:00
Nandor Kracser
a572ad8fec storage/sql: rework of the original MySQL PR 2019-07-23 14:27:10 +02:00
Pavel Borzenkov
e53bdfabb9 storage/sql: initial MySQL storage implementation
It will be shared by both Postgres and MySQL configs.

Signed-off-by: Pavel Borzenkov <pavel.borzenkov@gmail.com>
2019-07-23 14:26:21 +02:00
Stephan Renatus
447f24a81b
ADOPTERS: replace Documentation/production-users.md, add Chef
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2019-07-23 14:01:17 +02:00
Stephan Renatus
af81297d4e
MAINTAINERS: add @bonifaido
Signed-off-by: Stephan Renatus <srenatus@chef.io>
2019-07-23 13:03:18 +02:00
Stephan Renatus
421c26fdf5
Merge pull request #1481 from LanceH/master
Added "connector_id" to skip straight to a connector (similar to when len(connector) is 1.
2019-07-23 11:31:25 +02:00