Commit Graph

2125 Commits

Author SHA1 Message Date
Mark Sagi-Kazar
e9b83e0a45
chore: add a new basic config example
The dev config example is used for documentation purposes,
but it's also full of development specific configuration.

This change adds a new config example that should serve
as a default, empty config as well as documentation.

The dev example should only contain the relevant configuration.

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-28 18:54:32 +01:00
Maksim Nabokikh
65a8bf2af3 feat: graceful shutdown fixes
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-01-26 16:45:10 +04:00
m.nabokikh
f82c217e12 feat: graceful shutdown
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-01-26 12:16:30 +04:00
m.nabokikh
d6b5105d9b fix: check code presence
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-01-25 18:50:36 +04:00
m.nabokikh
a7667dff38 fix: remove empty RefreshTokens
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-01-25 14:53:19 +04:00
Stephen Augustus
c41f970b16
Merge pull request #1958 from dexidp/chore-docker-volume
Generic docker improvements
2021-01-25 04:07:43 -05:00
Mark Sagi-Kazar
bb651cc664
chore(docker): copy web assets to the filesystem root
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-24 00:56:53 +01:00
Mark Sagi-Kazar
c939e51cb4
chore(docker): drop no-op workdir
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-24 00:49:08 +01:00
Mark Sagi-Kazar
d2d0d4a1ea
chore(docker): reorder instructions in build image
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-24 00:48:35 +01:00
Mark Sagi-Kazar
a33669e3ec
chore(docker): move user to the end
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-24 00:48:32 +01:00
Mark Sagi-Kazar
7b2972a04b
chore(docker): copy web assets from the build image
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-24 00:47:40 +01:00
Mark Sagi-Kazar
89f737329b
chore(docker): rename the builder image
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-24 00:47:40 +01:00
Mark Sagi-Kazar
feb90bd1b1
chore(docker): update builder image
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-24 00:47:36 +01:00
Márk Sági-Kazár
f7156c26eb
Merge pull request #1956 from flant/request-not-supported
fix: unsupported request parameter error
2021-01-23 19:43:22 +01:00
Mark Sagi-Kazar
b19fe5b49d
chore(docker): move copying the dex binary up in Dockerfile
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-23 19:07:25 +01:00
Mark Sagi-Kazar
fade69b5ae
chore(docker): relocate module files in the final image
/usr/local/src sounds like a better place than /opt

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-23 19:07:15 +01:00
Mark Sagi-Kazar
e49f6661f3
chore(docker): add a data directory for dex to var
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-23 19:07:08 +01:00
Márk Sági-Kazár
186a719ecb
Merge pull request #1948 from flant/add-cache-headers
Add Cache-control headers to token responses
2021-01-23 14:13:51 +01:00
Márk Sági-Kazár
7cf43fdc7e
Merge pull request #1951 from flant/update-descovery-endpoint-info
fix: update auth methods and claims from discovery endpoint
2021-01-23 14:10:19 +01:00
m.nabokikh
30a5dade0f fix: unsupported request parameter error
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-01-22 18:01:24 +04:00
m.nabokikh
123185c456 fix: return invalid_grant error for invalid or expired auth codes
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-01-21 01:31:38 +04:00
m.nabokikh
283a87855a fix: update auth methods and claims in discovery endpoint
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-01-20 15:15:30 +04:00
dependabot[bot]
369e16e97e
Merge pull request #1950 from dexidp/dependabot/docker/golang-1.15.7-alpine3.12 2021-01-20 08:01:21 +00:00
dependabot[bot]
0ed680071c
chore(deps): bump golang from 1.15.6-alpine3.12 to 1.15.7-alpine3.12
Bumps golang from 1.15.6-alpine3.12 to 1.15.7-alpine3.12.

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-20 06:53:12 +00:00
Márk Sági-Kazár
a55de6c991
Merge pull request #1949 from flant/use-constants-for-errors
Use constants to form oauth2 error responses
2021-01-19 11:58:20 +01:00
m.nabokikh
bb503dbd81 Use constants in errors
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-01-18 14:54:43 +04:00
m.nabokikh
a7978890c7 Add Cache-control headers to token responses
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-01-18 11:13:28 +04:00
Martin Heide
c12c340e3c Extend OpenLDAP example for LDAPS
Signed-off-by: Martin Heide <martin.heide@faro.com>
2021-01-15 17:05:39 +00:00
m.nabokikh
b2e9f67edc Enable unparam, prealloc, sqlclosecheck linters
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-01-15 19:29:13 +04:00
dependabot[bot]
3650fe2287
Merge pull request #1945 from dexidp/dependabot/docker/alpine-3.13.0 2021-01-15 09:23:00 +00:00
dependabot[bot]
dbd42ae777
chore(deps): bump alpine from 3.12.3 to 3.13.0
Bumps alpine from 3.12.3 to 3.13.0.

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-15 07:20:22 +00:00
Mark Sagi-Kazar
f9b3d8fcb4
docs(readme): fix links
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-15 02:08:23 +01:00
Mark Sagi-Kazar
a73670488c
docs(readme): fix maintainer link
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-15 02:06:17 +01:00
Mark Sagi-Kazar
5bd55f6ee7
chore(deps): update dependabot config
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-15 00:22:52 +01:00
dependabot[bot]
6400052265
Merge pull request #1930 from dexidp/dependabot/docker/alpine-3.12.3 2021-01-14 22:49:15 +00:00
dependabot[bot]
a255bda911
Merge pull request #1935 from dexidp/dependabot/go_modules/github.com/stretchr/testify-1.7.0 2021-01-14 22:48:35 +00:00
Márk Sági-Kazár
566ba720a2
Merge pull request #1936 from dexidp/update-actions
ci: update workflow config
2021-01-14 23:45:50 +01:00
Mark Sagi-Kazar
2cc8b2fe3c
ci: update workflow config
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-14 23:31:53 +01:00
dependabot[bot]
cb2c85b2a5
chore(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-14 22:30:40 +00:00
Márk Sági-Kazár
5bfe1a5d22
Merge pull request #1925 from dexidp/update-dependencies
Update project dependencies
2021-01-14 23:27:40 +01:00
dependabot[bot]
1866a7acc8
chore(deps): bump alpine from 3.12.2 to 3.12.3
Bumps alpine from 3.12.2 to 3.12.3.

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-14 22:20:48 +00:00
Márk Sági-Kazár
bf23d392b6
Merge pull request #1928 from dexidp/dependabot
Add dependabot
2021-01-14 23:20:18 +01:00
Mark Sagi-Kazar
d51937b62d
chore(docker): update alpine image
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-14 22:33:16 +01:00
Mark Sagi-Kazar
dc40d5b0df
chore(deps): add dependabot config
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-14 22:32:58 +01:00
Márk Sági-Kazár
c952ba743d
Merge pull request #1927 from dexidp/update-links
Update links pointing to slack channel
2021-01-14 21:17:22 +01:00
Mark Sagi-Kazar
040950341d
chore(docs): update links pointing to slack channel
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-14 20:52:48 +01:00
Mark Sagi-Kazar
3c686b24ce
chore(deps): update dependencies
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-14 19:20:11 +01:00
Márk Sági-Kazár
afba7577bb
Merge pull request #1918 from flant/log-device-flow-gc
fix: log device flow entities GC result if no auth entities collected
2021-01-14 18:02:20 +01:00
Márk Sági-Kazár
ccbf6c6e0f
Merge pull request #1921 from dexidp/feat-add-flags
Add flags for bind address config options
2021-01-14 17:54:38 +01:00
Márk Sági-Kazár
8515dfb35d
Merge pull request #1923 from dexidp/cleanup
Cleanup
2021-01-14 17:54:21 +01:00