Ian Roberts
16f032bce9
Clarify what rewriteTarget means for a file: upstream
2024-09-02 11:27:28 +01:00
Ian Roberts
cb53401c3a
Don't use http.StripPrefix when a file: upstream has rewriteTarget
...
A regular (non-regex) file: upstream needs to strip the prefix so that it is equivalent to "mounting" the specified directory under the configured path in the URL space, but with regex rewriting the target path is determined by the rewriteTarget.
Fixes oauth2-proxy/oauth2-proxy#2242
2024-09-02 11:27:28 +01:00
Ian Roberts
b618ed7150
Test for a file:/// upstream combined with regex path rewrite
2024-09-02 11:27:28 +01:00
igor.udot
076d2df246
fix: add the OAuth2 image to the local environment examples in the compose file
2024-08-28 23:38:57 +02:00
renovate[bot]
1ba2353685
chore(deps): update dependency golangci/golangci-lint to v1.60.3
2024-08-28 23:34:14 +02:00
priby05
87b598c3c5
Add s390x nightly build
2024-08-28 23:26:30 +02:00
priby05
f71a7fd2a2
feature/s390x architecture support ( #2734 )
...
* Add s390x architecture support
* Update CHANGELOG
2024-08-23 09:02:02 +02:00
renovate[bot]
ecfa2ca83f
chore(deps): update dependency golangci/golangci-lint to v1.60.2
2024-08-21 11:59:39 +02:00
Jan Larwig
e22b8d0eca
doc: update maintainer emails ( #2748 )
2024-08-20 18:56:11 +02:00
Teko
f9a0a4a280
doc: fix typo in function description ( #2738 )
2024-08-20 18:41:23 +02:00
Jan Larwig
9a9e7b7a37
docs: restructure all options and flags ( #2747 )
...
* remove package lock file
* update next docs
* update latest v7.6 docs
* switch to npm install for docs
* sort sections alphabetically
2024-08-20 10:40:27 +02:00
Joel Speed
95cbd0cdfb
Merge pull request #2723 from tuunit/docs/add-toml-fields
...
docs: restructure configuration options overview and optimize build and dependency management
2024-08-07 15:02:07 +07:00
tuunit
12105c446f
add toml field
2024-07-26 20:14:49 +02:00
tuunit
a15eba427d
reformatting of markdown tables
2024-07-26 19:48:10 +02:00
renovate[bot]
100ffdcb3d
chore(deps): update docker-compose ( #2714 )
...
* chore(deps): update docker-compose
* reduce specificity of keycloak tag
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jan Larwig <jan@larwig.com>
2024-07-25 23:23:17 +02:00
renovate[bot]
5aea780e46
chore(deps): update helm release oauth2-proxy to v7.7.9
2024-07-25 23:14:31 +02:00
Smig
4929dc4112
docs: fix broken traefik docs link in overview.md ( #2717 )
...
---------
Co-authored-by: Jan Larwig <jan@larwig.com>
2024-07-23 20:19:46 +02:00
Koen van Zuijlen
ce8b63bc21
chore(examples): update keycloak to v25 ( #2706 )
...
---------
Co-authored-by: tuunit <jan@larwig.com>
2024-07-18 23:57:15 +02:00
Jan Larwig
ca25c906bb
docs: update provider list with refresh support ( #2711 )
...
---------
Co-authored-by: mikefab-msf <117652131+mikefab-msf@users.noreply.github.com>
2024-07-18 23:43:58 +02:00
tuunit
49aa69b162
revert: ignoring non-code paths
2024-07-18 23:29:08 +02:00
Jan Larwig
0e4962a9e8
chore(ci): ignore markdown files for ci
2024-07-18 23:11:20 +02:00
Jan Larwig
f60b7f321f
chore(ci): add paths-ignore for none code related directories ( #2695 )
...
* add paths-ignore for none code related directories
* add missing pipe
2024-07-18 22:56:57 +02:00
Koen van Zuijlen
343bd61ebb
chore(deps): Updated to ginkgo v2 ( #2459 )
...
* chore(deps): Updated to ginkgo v2
* fix basic auth test suite cleanup
* fix redis store tests
* add changelog entry
---------
Co-authored-by: Jan Larwig <jan@larwig.com>
2024-07-18 22:41:02 +02:00
af su
211c605875
docs: additional notes about available claims for HeaderValue ( #2674 )
...
* docs: additional notes on HeaderValue
* docs: add code comments
* fix missing preferred_username
* regenerate docs
* add changelog entry
---------
Co-authored-by: afsu <saf@zjuici.com>
Co-authored-by: Jan Larwig <jan@larwig.com>
2024-07-18 22:31:19 +02:00
Simon
a22668eb8c
docs: make clear that any access token expiry dates are ignored ( #2644 )
...
* docs: make clear that any access token expiry dates are ignored
* clarify why access-token expiration cannot be validated
---------
Co-authored-by: Jan Larwig <jan@larwig.com>
2024-07-18 22:11:40 +02:00
Leandro Lafin
7eec31f837
Update source code to origin v7.6.0 ( #54 )
...
## Description
We are updating the fork source code from origin `v7.4.0` to `v7.6.0`
while keeping the customizations.
## How was it tested?
Created a local container image of the oauth-proxy from this PR and
integrated it with Reporting locally. The following flows were checked:
- Login
- User introspect
- Audit logs
- Logout
- Auto logout
2024-07-16 16:08:32 -03:00
Leandro Lafin
b8ba647fb2
Fixing unit tests
2024-07-15 12:06:42 -03:00
Leandro Lafin
4ddb75c0e3
Update alpha config
2024-07-15 11:07:50 -03:00
Leandro Lafin
4ea0183a5a
release v7.6.0
2024-07-15 10:22:27 -03:00
Leandro Lafin
1b4c3d756e
Session aware logout, backend logout url approach
2024-07-15 10:14:25 -03:00
Leandro Lafin
99bafcff95
chore(deps): update mcr.microsoft.com/vscode/devcontainers/go docker tag to v1
2024-07-15 10:01:45 -03:00
Leandro Lafin
b6842a91e8
docs: add code of conduct
2024-07-15 10:00:26 -03:00
Leandro Lafin
2d7a6b984b
chore(deps): update module google.golang.org/api to v0.157.0
2024-07-15 09:59:14 -03:00
Leandro Lafin
7a32e57d89
chore(deps): update actions/setup-go action to v5
2024-07-15 09:58:33 -03:00
Leandro Lafin
6502eb24be
chore(deps): update actions/checkout action to v4
2024-07-15 09:57:56 -03:00
Leandro Lafin
94dec38cfc
chore(deps): update module k8s.io/apimachinery to v0.29.1
2024-07-15 09:56:22 -03:00
Leandro Lafin
f072a89304
chore(deps): update github.com/ghodss/yaml digest to d8423dc
2024-07-15 09:55:54 -03:00
Leandro Lafin
e684125ca7
upgrading to go 1.21
2024-07-15 09:54:57 -03:00
Leandro Lafin
20624f140c
chore(deps): update alpine docker tag to v3.19.0
2024-07-15 09:09:38 -03:00
Leandro Lafin
8b869116b2
chore(deps): update module github.com/bsm/redislock to v0.9.4
2024-07-15 09:02:15 -03:00
Leandro Lafin
f1c58097d3
Improved dev environment
2024-07-15 09:00:36 -03:00
Leandro Lafin
c156c9f732
Add ability to configure username for Redis cluster connections
2024-07-15 08:43:15 -03:00
Jacob Middag
3045392c17
feat: Replace default Go user-agent with oauth2-proxy and version ( #2570 )
...
* feat: Replace default Go user-agent with oauth2-proxy and version
* Add to CHANGELOG
* Make userAgentTransport configurable and composable
* Use correct naming convention for DefaultHTTPClient
* Move version to own package and use named arguments
* Update version path in Makefile
* Fix import path in Makefile
* Change importpath in dist.sh
* Minor style issues
2024-07-14 21:09:17 +01:00
Koen van Zuijlen
45ec12bcae
Merge pull request #2700 from oauth2-proxy/renovate/docker-compose
2024-07-14 22:06:03 +02:00
renovate[bot]
8a6a3ef3a4
chore(deps): update docker-compose
2024-07-14 20:00:56 +00:00
Koen van Zuijlen
9e23b57038
Merge pull request #2705 from oauth2-proxy/renovate/npm
2024-07-14 22:00:18 +02:00
renovate[bot]
4122e64dbc
chore(deps): update dependency @easyops-cn/docusaurus-search-local to v0.44.3
2024-07-14 19:56:28 +00:00
Jan Larwig
45fe2dcfd1
fix: docs link in SECURITY.md
2024-07-14 21:55:47 +02:00
Leandro Lafin
822cfad994
Feature/add option to skip loading claims from profile url
2024-07-12 15:57:12 -03:00
Leandro Lafin
0fb3937d46
Remove nsswitch DNS resolution workaround
2024-07-12 15:30:38 -03:00