Comments (2)
The format you're using is wrong. Quoting from https://docs.goauthentik.io/docs/installation/configuration#listen-settings
List of comma-separated CIDRs that proxy headers should be accepted from
So AUTHENTIK_LISTEN__TRUSTED_PROXY_CIDRS=127.0.0.0/8,::1/128
from authentik.
The format you're using is wrong. Quoting from https://docs.goauthentik.io/docs/installation/configuration#listen-settings
List of comma-separated CIDRs that proxy headers should be accepted from
So
AUTHENTIK_LISTEN__TRUSTED_PROXY_CIDRS=127.0.0.0/8,::1/128
I did try .env file:
AUTHENTIK_LISTEN__TRUSTED_PROXY_CIDRS=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,fe80::/10,::1/128,192.168.0.0/24
Result:
trusted_proxy_cidrs:
- 127.0.0.0/8
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
- fe80::/10
- ::1/128
Or docker-compose.yml
server:
image: ${AUTHENTIK_IMAGE:-ghcr.io/goauthentik/server}:${AUTHENTIK_TAG:-2024.4.2}
container_name: authentik_server
restart: unless-stopped
command: server
environment:
AUTHENTIK_REDIS__HOST: redis
AUTHENTIK_POSTGRESQL__HOST: postgresql
AUTHENTIK_POSTGRESQL__USER: ${PG_USER:-authentik}
AUTHENTIK_POSTGRESQL__NAME: ${PG_DB:-authentik}
AUTHENTIK_POSTGRESQL__PASSWORD: ${PG_PASS}
AUTHENTIK_LISTEN__TRUSTED_PROXY_CIDRS: 127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,fe80::/10,::1/128,192.168.0.0/24
Result:
trusted_proxy_cidrs:
- 127.0.0.0/8
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
- fe80::/10
- ::1/128
from authentik.
Related Issues (20)
- Upgrade from 2024.2.2 to 2024.4.2 Raises issue on SCIM users primary key. HOT 2
- Cloudflare Access Guide HOT 1
- Allow specifying outpost AUTHENTIK_TOKEN using blueprints
- Add support for setting X-FRAME-OPTIONS and CSP HOT 2
- Documentation about invitations not telling to add invitation stage to enrollment flow HOT 2
- OIDC Provider Fails Across VLANs/Subnets HOT 1
- Overriding trusted proxy CIDRs does not work HOT 4
- User Names with commas break email sending
- One login to rule (access) them all! HOT 3
- device code flow gives error invalid_grant
- Does disabling password hashing remove already hashed passwords ?
- Github Icon, not showing up at login HOT 1
- Authentik OIDC Provider Does Not Use TLS Certificates HOT 2
- Proxy provider unauthenticated blacklist
- Broken macOS/Safari support
- An option to sync LDAP sources partially
- Deadlock reported by database HOT 6
- Missing Space in Login Screen for Applications HOT 2
- Jellyfin LDAP Bind User Permissions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from authentik.