dependabot[bot]
4067b52c8f
build(deps): bump the docker group with 1 update ( #205 )
...
Bumps the docker group with 1 update: golang.
Updates `golang` from 1.21 to 1.22
---
updated-dependencies:
- dependency-name: golang
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: docker
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-12 19:31:44 +00:00
Sten Røkke
5743c6e371
fix: merge conflict
2024-02-05 21:42:38 +01:00
Sten Røkke
39c2e2e066
feat: increase timeout
2024-02-05 21:42:05 +01:00
Sten Røkke
49a504ac65
feat: add timeout to fasit feature to avoid rollback in new clusters
2024-02-05 21:14:21 +01:00
dependabot[bot]
28f58e9948
build(deps): bump the gh-actions group with 1 update ( #204 )
...
Bumps the gh-actions group with 1 update: [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer ).
Updates `sigstore/cosign-installer` from 3.3.0 to 3.4.0
- [Release notes](https://github.com/sigstore/cosign-installer/releases )
- [Commits](9614fae9e5...e1523de757 )
---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: gh-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-05 19:30:33 +00:00
dependabot[bot]
885f2b12d1
build(deps): bump mvdan.cc/gofumpt from 0.5.0 to 0.6.0 ( #202 )
...
Bumps [mvdan.cc/gofumpt](https://github.com/mvdan/gofumpt ) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/mvdan/gofumpt/releases )
- [Changelog](https://github.com/mvdan/gofumpt/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mvdan/gofumpt/compare/v0.5.0...v0.6.0 )
---
updated-dependencies:
- dependency-name: mvdan.cc/gofumpt
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 19:40:54 +00:00
dependabot[bot]
5d03c15556
build(deps): bump github.com/google/uuid from 1.5.0 to 1.6.0 ( #201 )
...
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/google/uuid/releases )
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/uuid/compare/v1.5.0...v1.6.0 )
---
updated-dependencies:
- dependency-name: github.com/google/uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 19:38:05 +00:00
dependabot[bot]
018477d66b
build(deps): bump golang.org/x/vuln from 1.0.2 to 1.0.3 ( #203 )
...
Bumps [golang.org/x/vuln](https://github.com/golang/vuln ) from 1.0.2 to 1.0.3.
- [Commits](https://github.com/golang/vuln/compare/v1.0.2...v1.0.3 )
---
updated-dependencies:
- dependency-name: golang.org/x/vuln
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-29 19:35:48 +00:00
Sten Røkke
cb0d762432
cleanup: removed clustername from chart, not in use
...
Co-authored-by: Trong Huu Nguyen <trong.huu.nguyen@nav.no >
Co-authored-by: Vegar Sechmann Molvig <vegar.sechmann.molvig@nav.no >
2024-01-29 13:50:27 +01:00
dependabot[bot]
4404218542
build(deps): bump golang.org/x/vuln from 1.0.1 to 1.0.2 ( #200 )
...
Bumps [golang.org/x/vuln](https://github.com/golang/vuln ) from 1.0.1 to 1.0.2.
- [Commits](https://github.com/golang/vuln/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: golang.org/x/vuln
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 19:42:06 +00:00
dependabot[bot]
3f2c2e042e
build(deps): bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc ( #197 )
...
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go ) from 1.21.0 to 1.22.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.21.0...v1.22.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-22 19:38:57 +00:00
Trong Huu Nguyen
3150d5802b
build: go 1.21.6
2024-01-16 08:57:15 +01:00
Trong Huu Nguyen
10e71a7bb5
feat(handler/reverseproxy): remove x-wonderwall headers
...
The use of these headers in upstreams may be risky, espeically
if Wonderwall is accidentally misconfigured or disabled, or requests
are performed directly to the upstream circumventing Wonderwall.
We should prefer using a signed token or similar that can be verified by
the upstreams.
2024-01-16 08:57:07 +01:00
dependabot[bot]
a5733e1ce8
build(deps): bump github.com/lestrrat-go/jwx/v2 from 2.0.18 to 2.0.19 ( #196 )
...
Bumps [github.com/lestrrat-go/jwx/v2](https://github.com/lestrrat-go/jwx ) from 2.0.18 to 2.0.19.
- [Release notes](https://github.com/lestrrat-go/jwx/releases )
- [Changelog](https://github.com/lestrrat-go/jwx/blob/develop/v2/Changes )
- [Commits](https://github.com/lestrrat-go/jwx/compare/v2.0.18...v2.0.19 )
---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-15 19:59:21 +00:00
dependabot[bot]
3496d2a8d5
build(deps): bump github.com/alicebob/miniredis/v2 from 2.31.0 to 2.31.1 ( #195 )
...
Bumps [github.com/alicebob/miniredis/v2](https://github.com/alicebob/miniredis ) from 2.31.0 to 2.31.1.
- [Release notes](https://github.com/alicebob/miniredis/releases )
- [Changelog](https://github.com/alicebob/miniredis/blob/master/CHANGELOG.md )
- [Commits](https://github.com/alicebob/miniredis/compare/v2.31.0...v2.31.1 )
---
updated-dependencies:
- dependency-name: github.com/alicebob/miniredis/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 19:57:20 +00:00
dependabot[bot]
5de08bafe1
build(deps): bump github.com/redis/go-redis/v9 from 9.3.1 to 9.4.0 ( #193 )
...
Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis ) from 9.3.1 to 9.4.0.
- [Release notes](https://github.com/redis/go-redis/releases )
- [Changelog](https://github.com/redis/go-redis/blob/master/CHANGELOG.md )
- [Commits](https://github.com/redis/go-redis/compare/v9.3.1...v9.4.0 )
---
updated-dependencies:
- dependency-name: github.com/redis/go-redis/v9
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 19:55:13 +00:00
dependabot[bot]
9394a4f9ad
build(deps): bump golang.org/x/oauth2 from 0.15.0 to 0.16.0 ( #194 )
...
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2 ) from 0.15.0 to 0.16.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.15.0...v0.16.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 19:52:51 +00:00
dependabot[bot]
6cf58109a2
build(deps): bump golang.org/x/crypto from 0.17.0 to 0.18.0 ( #192 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.17.0 to 0.18.0.
- [Commits](https://github.com/golang/crypto/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-08 19:51:10 +00:00
dependabot[bot]
4eb2892a50
build(deps): bump github.com/prometheus/client_golang ( #190 )
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.17.0...v1.18.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-01 19:23:35 +00:00
dependabot[bot]
2b9ab71bc3
build(deps): bump github.com/redis/go-redis/v9 from 9.3.0 to 9.3.1 ( #189 )
...
Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis ) from 9.3.0 to 9.3.1.
- [Release notes](https://github.com/redis/go-redis/releases )
- [Changelog](https://github.com/redis/go-redis/blob/master/CHANGELOG.md )
- [Commits](https://github.com/redis/go-redis/compare/v9.3.0...v9.3.1 )
---
updated-dependencies:
- dependency-name: github.com/redis/go-redis/v9
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-25 19:55:28 +00:00
dependabot[bot]
2bb69a568b
build(deps): bump github.com/go-chi/chi/v5 from 5.0.10 to 5.0.11 ( #188 )
...
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi ) from 5.0.10 to 5.0.11.
- [Release notes](https://github.com/go-chi/chi/releases )
- [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md )
- [Commits](https://github.com/go-chi/chi/compare/v5.0.10...v5.0.11 )
---
updated-dependencies:
- dependency-name: github.com/go-chi/chi/v5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-25 19:53:05 +00:00
Trong Huu Nguyen
40497da1b9
feat(handler/reverseproxy): filter relevant access requests
2023-12-20 15:41:29 +01:00
Trong Huu Nguyen
41f4354ce4
revert: "feat(handler/error): remove automatic retry"
...
This reverts commit 083cb54df7 .
2023-12-20 11:17:51 +01:00
Trong Huu Nguyen
e71e4a2fda
feat(handler/reverseproxy): add toggle for access logs
2023-12-20 08:25:35 +01:00
Trong Huu Nguyen
55839d72f0
feat(handler/login): log existing sid on prompt
2023-12-19 12:19:39 +01:00
Trong Huu Nguyen
50e53330b9
feat(handler/reverseproxy): remove unnecessary log fields
2023-12-19 12:05:01 +01:00
Trong Huu Nguyen
f82c8a7078
feat(handler/login): drop logging sub claim
2023-12-19 11:04:03 +01:00
Trong Huu Nguyen
9c2d1cb520
feat(cookie): remove expiry options
...
Always create session cookies instead of
persistent cookies with expiry.
2023-12-19 08:46:08 +01:00
Trong Huu Nguyen
e00832016b
feat(handler/login): remove legacy cookie
...
We don't really need to set an additional cookie without SameSite
as we now use SameSite=Lax for the login cookie.
2023-12-19 08:46:08 +01:00
Trong Huu Nguyen
083cb54df7
feat(handler/error): remove automatic retry
2023-12-19 08:46:06 +01:00
Trong Huu Nguyen
273eb3604a
feat(cookie): use samesite lax instead of none for callback
2023-12-19 08:46:03 +01:00
Trong Huu Nguyen
c3904433f2
feat: log and propagate session metadata
...
- stop using jti, use sid instead
- store amr and auth_time from id_token in session
- log more metadata on login callback
- log session id where possible
- propagate acr, amr, auth_time, sid to upstreams in headers
- log authenticated reverseproxy requests
2023-12-19 08:46:02 +01:00
Trong Huu Nguyen
a10da5d0d7
feat(handler/login): add support for prompt param in login
2023-12-19 08:46:01 +01:00
Trong Huu Nguyen
8f3c5cde88
fix(handler/error): redirect callbacks to initial handlers, retry others as-is
2023-12-19 08:45:57 +01:00
dependabot[bot]
3280cb2e4a
build(deps): bump the gh-actions group with 1 update ( #184 )
...
Bumps the gh-actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action ).
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/github/codeql-action/compare/v2...v3 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: gh-actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-19 08:17:57 +01:00
dependabot[bot]
dd94f3d16f
build(deps): bump github.com/spf13/viper from 1.18.1 to 1.18.2 ( #187 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.18.1 to 1.18.2.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.18.1...v1.18.2 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 19:39:10 +00:00
dependabot[bot]
b411e6837e
build(deps): bump github.com/google/uuid from 1.4.0 to 1.5.0 ( #186 )
...
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/google/uuid/releases )
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md )
- [Commits](https://github.com/google/uuid/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: github.com/google/uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 19:36:25 +00:00
dependabot[bot]
11bc43f309
build(deps): bump golang.org/x/crypto from 0.16.0 to 0.17.0 ( #185 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.16.0 to 0.17.0.
- [Commits](https://github.com/golang/crypto/compare/v0.16.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-18 19:33:25 +00:00
Trong Huu Nguyen
ecf761d7fb
ci: add concurrency configuration for workflow
2023-12-12 09:21:49 +01:00
Trong Huu Nguyen
3f7af9e232
chore(config): set new default value for idporten acr
2023-12-12 09:12:41 +01:00
dependabot[bot]
b919f9f083
build(deps): bump the gh-actions group with 2 updates ( #183 )
2023-12-12 08:04:48 +00:00
dependabot[bot]
cd8cafafe0
build(deps): bump github.com/spf13/viper from 1.17.0 to 1.18.1 ( #182 )
...
Bumps [github.com/spf13/viper](https://github.com/spf13/viper ) from 1.17.0 to 1.18.1.
- [Release notes](https://github.com/spf13/viper/releases )
- [Commits](https://github.com/spf13/viper/compare/v1.17.0...v1.18.1 )
---
updated-dependencies:
- dependency-name: github.com/spf13/viper
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-11 19:08:34 +00:00
Trong Huu Nguyen
0d7ec329e4
build: add asdf .tool-versions to specify go version
2023-12-06 18:20:49 +01:00
dependabot[bot]
6a183da146
build(deps): bump the gh-actions group with 1 update ( #181 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-05 08:46:31 +01:00
dependabot[bot]
37b52138f4
build(deps): bump github.com/lestrrat-go/jwx/v2 from 2.0.17 to 2.0.18 ( #180 )
...
Bumps [github.com/lestrrat-go/jwx/v2](https://github.com/lestrrat-go/jwx ) from 2.0.17 to 2.0.18.
- [Release notes](https://github.com/lestrrat-go/jwx/releases )
- [Changelog](https://github.com/lestrrat-go/jwx/blob/develop/v2/Changes )
- [Commits](https://github.com/lestrrat-go/jwx/compare/v2.0.17...v2.0.18 )
---
updated-dependencies:
- dependency-name: github.com/lestrrat-go/jwx/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-04 19:23:42 +00:00
Trong Huu Nguyen
1804d95350
ci: image tag is no longer required
2023-11-29 14:15:37 +01:00
Trong Huu Nguyen
8204c0bc30
ci: correct job identifier
2023-11-29 14:02:43 +01:00
Trong Huu Nguyen
ab18784c34
ci: soothe helm's strict version validation
2023-11-29 13:58:01 +01:00
Trong Huu Nguyen
273ed7e829
ci: add helm chart
2023-11-29 13:41:16 +01:00
Jan-Kåre Solbakken
1bbcb31079
Use latest cosign
2023-11-29 10:40:10 +01:00