New config for custom guard header

This commit is contained in:
James Cole
2020-07-31 06:50:57 +02:00
parent 981960fcb4
commit 1e2829ed8e
2 changed files with 5 additions and 4 deletions

View File

@@ -33,10 +33,11 @@ return [
| |
*/ */
'defaults' => [ 'defaults' => [
'guard' => envNonEmpty('AUTHENTICATION_GUARD', 'web'), 'guard' => envNonEmpty('AUTHENTICATION_GUARD', 'web'),
'passwords' => 'users', 'passwords' => 'users',
], ],
'guard_header' => envNonEmpty('AUTHENTICATION_GUARD_HEADER', 'REMOTE_USER'),
/* /*
|-------------------------------------------------------------------------- |--------------------------------------------------------------------------

View File

@@ -245,9 +245,9 @@ return [
*/ */
'windows' => [ 'windows' => [
'enabled' => envNonEmpty('WINDOWS_SSO_ENABLED', false), 'enabled' => false,
'locate_users_by' => envNonEmpty('WINDOWS_SSO_DISCOVER', 'samaccountname'), 'locate_users_by' => 'samaccountname',
'server_key' => envNonEmpty('WINDOWS_SSO_KEY', 'AUTH_USER'), 'server_key' => 'AUTH_USER',
], ],
], ],