Commit Graph

2081 Commits

Author SHA1 Message Date
m.nabokikh
891fa1785f Remove entrypoint.sh, add config template example
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-01-29 13:48:05 +04:00
m.nabokikh
7784a4727c feat: Add dockerize to the Dex docker image
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2021-01-29 13:48:05 +04:00
dependabot[bot]
64e47cc22a
Merge pull request #1966 from dexidp/dependabot/docker/alpine-3.13.1 2021-01-29 09:13:38 +00:00
dependabot[bot]
b598eca785
chore(deps): bump alpine from 3.13.0 to 3.13.1
Bumps alpine from 3.13.0 to 3.13.1.

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-29 07:04:44 +00:00
Márk Sági-Kazár
31f26735ff
Merge pull request #1957 from dexidp/config
Add new configuration examples
2021-01-28 19:27:45 +01:00
Mark Sagi-Kazar
27a43669a7
chore: add new development configuration
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
2021-01-28 18:54:38 +01:00
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