goauthentik / authentik

The authentication glue you need.
https://goauthentik.io
Other
13.72k stars 918 forks source link

root: check remote IP for proxy protocol same as HTTP/etc #12094

Closed BeryJu closed 5 days ago

BeryJu commented 5 days ago

Details

REPLACE ME


Checklist

If an API change has been made

If changes to the frontend have been made

If applicable

BeryJu commented 5 days ago

/cherry-pick version-2024.10

netlify[bot] commented 5 days ago

Deploy Preview for authentik-docs canceled.

Name Link
Latest commit 9ccd7282003b97a03870dd66c817ce7c05bcc15a
Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/673e1de0c4417c0007666fb9
netlify[bot] commented 5 days ago

Deploy Preview for authentik-storybook canceled.

Name Link
Latest commit 9ccd7282003b97a03870dd66c817ce7c05bcc15a
Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/673e1de0556344000810634a
codecov[bot] commented 5 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.60%. Comparing base (dc9de43) to head (9ccd728). Report is 3 commits behind head on main.

:white_check_mark: All tests successful. No failed tests found.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #12094 +/- ## ======================================= Coverage 92.60% 92.60% ======================================= Files 761 761 Lines 37929 37929 ======================================= + Hits 35124 35125 +1 + Misses 2805 2804 -1 ``` | [Flag](https://app.codecov.io/gh/goauthentik/authentik/pull/12094/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik) | Coverage Δ | | |---|---|---| | [e2e](https://app.codecov.io/gh/goauthentik/authentik/pull/12094/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik) | `49.09% <ø> (+<0.01%)` | :arrow_up: | | [integration](https://app.codecov.io/gh/goauthentik/authentik/pull/12094/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik) | `24.85% <ø> (ø)` | | | [unit](https://app.codecov.io/gh/goauthentik/authentik/pull/12094/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik) | `90.19% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


🚨 Try these New Features:

github-actions[bot] commented 5 days ago

authentik PR Installation instructions

Instructions for docker-compose Add the following block to your `.env` file: ```shell AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server AUTHENTIK_TAG=gh-9ccd7282003b97a03870dd66c817ce7c05bcc15a AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s ``` For arm64, use these values: ```shell AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server AUTHENTIK_TAG=gh-9ccd7282003b97a03870dd66c817ce7c05bcc15a-arm64 AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s ``` Afterwards, run the upgrade commands from the latest release notes.
Instructions for Kubernetes Add the following block to your `values.yml` file: ```yaml authentik: outposts: container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s global: image: repository: ghcr.io/goauthentik/dev-server tag: gh-9ccd7282003b97a03870dd66c817ce7c05bcc15a ``` For arm64, use these values: ```yaml authentik: outposts: container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s global: image: repository: ghcr.io/goauthentik/dev-server tag: gh-9ccd7282003b97a03870dd66c817ce7c05bcc15a-arm64 ``` Afterwards, run the upgrade commands from the latest release notes.