Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 7.7.1 #58

Merged
merged 556 commits into from
Dec 11, 2024
Merged

Merge 7.7.1 #58

merged 556 commits into from
Dec 11, 2024

Conversation

andersonvcv
Copy link

@andersonvcv andersonvcv commented Dec 10, 2024

Description

Merge from Upstream/Release/7.7.1

AB#1611455

Motivation and Context

Keeping OAuth2-Proxy up-to-date with the upstream

How Has This Been Tested?

Created a local container image of the oauth-proxy from this PR and integrated it with Reporting locally.

  • run in the root of this repo
    • docker buildx build -t oauth-local .
  • Updated FROM statement in pics/src/services/Oauth2Proxy/Dockerfile to
    • FROM oauth-local

The following flows were checked:

  • Login
  • Audit logs
  • Logout

Checklist:

  • Merge from Upstream/Release/7.7.1

mzndr and others added 30 commits August 23, 2023 15:15
the functions `isApiPath` and `isAllowedPath` use the `req.URL.Path` property which leads to faulty behavior when behind a reverse proxy. The correct path can be inferred from the `X-Forwarded-Uri` header by making use of the already provided `requestutil.GetRequestURI` function.

Co-authored-by: Jan Wystub <jan@bam-bam-bam.com>
…ri-for-pathregex-match

fix: use X-Forwarded-Uri if it exists for pathRegex match
* Validate jsonpath in claim extractor

Signed-off-by: Joseph Weigl <joseph.weigl@audi.de>

* Add test and changelog for claim extractor json path

---------

Signed-off-by: Joseph Weigl <joseph.weigl@audi.de>
Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
Embedding css and webfont dependencies allows the application to present
itself correctly in an environment that does not allow downloading the
files from a cdn.

Inspiration taken from oauth2-proxy#1492 but reworked to make use of embed.FS
simplifying the approach.
…iles

Embed static stylesheets and dependencies
* WIP: support for workload identity

* WIP: bugfixes to support WI

* Added support for Workload Identity

* Added missing flag

* Refactoring and typo

* Updated CHANGELOG.md

* Updated docs

* Updated changelog

* Improved readability and fixed codeclimate issues

* Update CHANGELOG.md

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

* Fixed if statement

* Apply suggestions from code review

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

* Cleanup

* Removed target principal

* Removed references to target principal

* Added docs

* Fixed header anchor linking

* Update auth.md

* Updated generated code

* Improved code

* Fixed tests

---------

Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
Co-authored-by: Jan Larwig <jan@larwig.com>
Created using: yarn run docusaurus docs:version 7.5.x
…pe-logic

bugfix: move oidc scope logic to oidc provider
* Improved session documentation

* Replaced "OAuth2-Proxy" with "OAuth2 Proxy"
)

* Fixed name for GoogleGroups env variable + unit tests

* Added changelog

---------

Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
* Added several arm builds to dist.sh

* Added platforms to Dockerfile and updated docs

* Reverted changes made for testing

* Fix docker platform images

* Fix docker platform images

* Update Makefile

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

* Update Makefile

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

* Update Makefile

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

* Formatting improvements

---------

Co-authored-by: Jan Larwig <jan@larwig.com>
Only pinning minor version to automatically receive patches
…s-for-oidc-based-providers

bugfix: default scopes for OIDCProvider based providers
* add search and update depedencies

* refactor documentation workflow to follow best github action best practices
…acting the proper base api url for github cloud, github enterprise and gitea (oauth2-proxy#2194)
* Update changelog for v7.5.1 release

* Create versioned docs for release v7.5.x
Created using: yarn run docusaurus docs:version 7.5.x

---------

Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
While parsing config: (28, 4): unescaped control character U+000A
* Update dependencies

* Update changelog
github-actions bot and others added 23 commits October 1, 2024 11:15
fix(ci): testing full release cycle before release branches can be merged
…ertificate-handling

fix: self signed certificate handling in v7.7.0
…y#2328)

* Issue 2311: runtime error: index out of range [0] with length 0 while extracting state of of the csrf

---------

Co-authored-by: tuunit <jan@larwig.com>
…e Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar
@andersonvcv andersonvcv marked this pull request as ready for review December 10, 2024 13:41
@andersonvcv andersonvcv requested a review from a team as a code owner December 10, 2024 13:41
@andersonvcv andersonvcv self-assigned this Dec 10, 2024
Copy link

@sailinder sailinder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well done, mano!

@andersonvcv andersonvcv merged commit 9ce484b into pics Dec 11, 2024
3 checks passed
@andersonvcv andersonvcv deleted the merge_7.7.1 branch December 11, 2024 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.