X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/f9dbbe5d70f751d67aa41f65f257f580bcf33568..refs/pull/5689/head:/app/Config/oidc.php diff --git a/app/Config/oidc.php b/app/Config/oidc.php index 49427cb12..16bec873c 100644 --- a/app/Config/oidc.php +++ b/app/Config/oidc.php @@ -47,9 +47,10 @@ return [ // Multiple values can be provided comma seperated. 'additional_scopes' => env('OIDC_ADDITIONAL_SCOPES', null), - // Enable fetching of the user's avatar from the 'picture' claim on initial login. - // This can be a security risk due to performing server-side fetching of data from external URLs. - // Only enable if you trust the OIDC auth provider to provide safe URLs for user images. + // Enable fetching of the user's avatar from the 'picture' claim on login. + // Will only be fetched if the user doesn't already have an avatar image assigned. + // This can be a security risk due to performing server-side fetching (with up to 3 redirects) of + // data from external URLs. Only enable if you trust the OIDC auth provider to provide safe URLs for user images. 'fetch_avatar' => env('OIDC_FETCH_AVATAR', false), // Group sync options