Skip to content

Commit 03509b7

Browse files
committed
Allow setting the auth proxy header
1 parent 5d3016c commit 03509b7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

config/prod.env

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,17 @@ SITE_URL=http://localhost
125125
ACCESS_TOKEN_LIFETIME=10 # The lifetime duration of the access token, in minutes
126126
REFRESH_TOKEN_LIFETIME=24 # The lifetime duration of the refresh token, in hours
127127

128+
#
129+
# Auth Proxy Authentication
130+
#
131+
# Please read the documentation before enabling this feature:
132+
# https://wger.readthedocs.io/en/latest/administration/auth_proxy.html
133+
AUTH_PROXY_HEADER=''
134+
AUTH_PROXY_TRUSTED_IPS=''
135+
AUTH_PROXY_CREATE_UNKNOWN_USER=False
136+
AUTH_PROXY_USER_EMAIL_HEADER=''
137+
AUTH_PROXY_USER_NAME_HEADER=''
138+
128139
#
129140
# Other possible settings
130141

0 commit comments

Comments
 (0)