Commit Graph

2491 Commits

Author SHA1 Message Date
renovate[bot] a448d4798d
chore(deps): update alpine docker tag to v3.19.1 2024-02-14 09:07:08 +00:00
renovate[bot] bf0c151510
chore(deps): update golang.org/x/exp digest to ec58324 2024-02-14 09:07:05 +00:00
Joel Speed 69a6c03c06
Merge pull request #2488 from oauth2-proxy/renovate/docker.io-library-golang-1.x
chore(deps): update docker.io/library/golang docker tag to v1.22
2024-02-14 09:05:05 +00:00
Joel Speed 3170c07318
Merge pull request #2500 from kvanzuijlen/patch-1
docs: Fix broken links in README.md
2024-02-14 09:04:19 +00:00
Koen van Zuijlen 2f9bb540d1
docs: Fix broken links in README.md 2024-02-14 01:12:11 +01:00
renovate[bot] 4b4703f4d7
chore(deps): update docker.io/library/golang docker tag to v1.22 2024-02-13 11:19:38 +00:00
Joel Speed 7af1e42788
Merge pull request #2499 from tuunit/release/v7.6.0
fix linter version for publish workflow
2024-02-13 11:18:07 +00:00
tuunit c63605127b fix linter version for publish workflow 2024-02-13 12:09:42 +01:00
Joel Speed 4178ac4e54
Merge pull request #2498 from oauth2-proxy/release/v7.6.0
release v7.6.0
2024-02-13 10:44:10 +00:00
Joel Speed 40efe7989a
Add slug for welcome.md 2024-02-13 10:23:04 +00:00
github-actions[bot] b009395223
update to release version v7.6.0 2024-02-13 10:00:54 +00:00
github-actions[bot] 975c739b62 add new docs version 7.6.x 2024-02-13 09:48:45 +00:00
kvanzuijlen ff91a56847
chore: Added group for golang version 2024-02-08 20:24:37 +01:00
Eduardo Vozniak 0bf401c2d1
allow setting arbitrary cookie refresh url (#50)
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

Allow setting arbitrary URLs for oauth2 proxy cookie refresh mechanism.
#49

## Motivation and Context

<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## How Has This Been Tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran
to -->
<!--- see how your change affects other areas of the code, etc. -->

## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes
that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->

- [ ] My change requires a change to the documentation or CHANGELOG.
- [ ] I have updated the documentation/CHANGELOG accordingly.
- [ ] I have created a feature (non-master) branch for my PR.
2024-02-02 09:45:08 -03:00
Erikson Bahr 946f277f47
pass legacy url to actual one 2024-02-02 08:57:07 -03:00
Erikson Bahr 153743e952
update docs 2024-02-02 08:46:24 -03:00
Erikson Bahr 23cf172dd6
allow setting arbitrary cookie refresh url 2024-02-02 08:42:37 -03:00
Leandro Lafin 5de6ce45d0
SSO - Refresh hsdpamcookie to allow signle sign on between other Philips products (#49)
<!--- Provide a general summary of your changes in the Title above -->

## Description

Users with different tabs, applications etc will now have their cookie
refreshed so when they open other tabs that have other applications,
these applications will now be authenticated.

Example: I'm doing logging for 1 hour, when I open reporting, hsp
reporting will ask for login due to expired cookie. Now this is no
longer happer


https://www.hsdp.io/documentation/identity-and-access-management-iam/api-documents/resource-reference-api/oauth2-api#/Session%20Refresh/refreshSessionUsingGET

New settings introduced:

`OAUTH2_PROXY_OIDC_ENABLE_COOKIE_REFRESH` default false
`OAUTH2_PROXY_OIDC_COOKIE_REFRESH_NAME` default 'hsdpamcookie'

## Motivation and Context

<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## How Has This Been Tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran
to -->
<!--- see how your change affects other areas of the code, etc. -->

Tested locally

## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes
that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're
here to help! -->

- [ ] My change requires a change to the documentation or CHANGELOG.
- [ ] I have updated the documentation/CHANGELOG accordingly.
- [ ] I have created a feature (non-master) branch for my PR.
2024-02-01 14:26:15 -03:00
Erikson Bahr e09053e3c3
fix unit tests 2024-02-01 13:59:16 -03:00
Erikson Bahr d6734336dc
remove deadcode 2024-02-01 13:38:54 -03:00
Erikson Bahr 4b00a44fcf
fix unit tests 2024-02-01 11:55:09 -03:00
Erikson Bahr 71512442de
fix unit tests 2024-02-01 11:26:05 -03:00
Erikson Bahr e18e301a86
add local-debug-build to make 2024-02-01 11:19:47 -03:00
Erikson Bahr 7ca98f24c8
fix unit tests 2024-02-01 11:15:02 -03:00
Erikson Bahr 1140950b9c
update docs 2024-02-01 11:00:15 -03:00
Erikson Bahr df015b5123
add 'OAUTH2_PROXY_OIDC_ENABLE_COOKIE_REFRESH' and 'OAUTH2_PROXY_OIDC_COOKIE_REFRESH_NAME' options 2024-02-01 10:38:06 -03:00
Erikson Bahr 0c8b7f9e33
fix lint 2024-02-01 09:56:38 -03:00
Erikson Bahr ac2d04686f
implement oidc singl sign on cookie refresher 2024-02-01 08:53:16 -03:00
kvanzuijlen 47388f4b62
chore: Added codeclimate version 2024-01-27 10:11:09 +01:00
kvanzuijlen 6374ad1d31
chore: simplified file match 2024-01-27 10:05:45 +01:00
kvanzuijlen 3c06739a8f
chore: Added trailing commas 2024-01-27 10:03:31 +01:00
kvanzuijlen dd5576f2b2
chore: Added renovate configuration 2024-01-27 09:57:42 +01:00
renovate[bot] 84e1cc24e3
chore(deps): update docker/setup-qemu-action action to v3 (#2450)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-26 13:00:31 +00:00
renovate[bot] d2b37d813b
chore(deps): update docker/setup-buildx-action action to v3 (#2449)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-26 13:00:18 +00:00
renovate[bot] fc63fc8dc5
chore(deps): update actions/upload-artifact action to v4 (#2439)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-26 12:59:53 +00:00
Damien Degois e7d20519df
Session aware logout, backend logout url approach (#1876)
* Session aware logout, backend logout url approach

* Add CHANGELOG.md and documentation for #1876

* Proper http handling and case change for golint compliance

* Update alpha_config.md

* Fix case conformity

* Change placeholder from ${id_token} to {id_token}

As this should be specified in a URL and curly braces should be escaped as %7b and %7d, therefore using {} shouldn't be an issue

* Apply suggestions from code review

Co-authored-by: Jan Larwig <jan@larwig.com>

* Add other suggestions

* Add suggestions and move background logout to generic provider

* Changelog updated

* Update oauthproxy.go

Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>

* Add comment for gosec, remove sensitive data from log

---------

Co-authored-by: Jan Larwig <jan@larwig.com>
Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
2024-01-26 12:48:09 +00:00
Jan Larwig 6c2c115d30
docs: upgrade to docusaurus 3.1.0 (#2388)
* initial commit for docusaurus 3 upgrade

* fix mdx errors

* fix mdx issues

* fix routing issues

* update docs generation workflow

* fix version

* fix permissions

* move slack to header

* remove background color and minify

* Add suggestions

* add shell to code blocks
2024-01-26 12:07:01 +00:00
renovate[bot] de0b6dd8a9
chore(deps): update mcr.microsoft.com/vscode/devcontainers/go docker tag to v1 (#2453)
* chore(deps): update mcr.microsoft.com/vscode/devcontainers/go docker tag to v1

* Update .devcontainer/Dockerfile

Co-authored-by: Koen van Zuijlen <8818390+kvanzuijlen@users.noreply.github.com>

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
Co-authored-by: Koen van Zuijlen <8818390+kvanzuijlen@users.noreply.github.com>
2024-01-26 11:55:12 +00:00
renovate[bot] ec13ae03c9
chore(deps): update github/codeql-action action to v3 (#2452)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-26 10:35:16 +00:00
renovate[bot] b1929c740c
chore(deps): update module google.golang.org/api to v0.158.0 (#2464)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-26 10:27:34 +00:00
renovate[bot] 509287b555
chore(deps): update module github.com/google/uuid to v1.6.0 (#2456)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-25 09:49:51 +00:00
Jan Larwig 82ab37b9df
add code of conduct (#2387) 2024-01-23 11:39:10 +00:00
renovate[bot] 5123910071
chore(deps): update dependency ubuntu to v22 (#2447)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 11:38:15 +00:00
renovate[bot] 74519f618d
chore(deps): update docker/login-action action to v3 (#2448)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 11:33:10 +00:00
renovate[bot] 6a03a110bb
chore(deps): update module google.golang.org/api to v0.157.0 (#2429)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 10:11:02 +00:00
renovate[bot] 327345250a
chore(deps): update actions/setup-go action to v5 (#2433)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 10:10:54 +00:00
renovate[bot] d5c0dc4d53
chore(deps): update actions/checkout action to v4 (#2430)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 10:10:31 +00:00
Koen van Zuijlen 2742c85ec6
Update labeler to v5 (#2434)
* Update labeler.yml

* Update labeler.yaml

* Update labeler.yaml
2024-01-23 09:56:29 +00:00
Koen van Zuijlen 5b21a8408c
Update release action to go 1.21 (#2437) 2024-01-23 09:52:52 +00:00
renovate[bot] 83c3c602ab
chore(deps): update actions/setup-node action to v4 (#2435)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-23 09:49:55 +00:00