X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/07a6d7655fd77b9c33360b855a0c08d922b2f3ed..refs/pull/2169/head:/app/Config/openid.php diff --git a/app/Config/openid.php b/app/Config/openid.php index 2232ba7b2..90eb6d5db 100644 --- a/app/Config/openid.php +++ b/app/Config/openid.php @@ -11,13 +11,16 @@ return [ // Attribute, within a OpenId token, to find the user's email address 'email_attribute' => env('OPENID_EMAIL_ATTRIBUTE', 'email'), // Attribute, within a OpenId token, to find the user's display name - 'display_name_attributes' => explode('|', env('OPENID_DISPLAY_NAME_ATTRIBUTES', 'username')), + 'display_name_attributes' => explode('|', env('OPENID_DISPLAY_NAME_ATTRIBUTES', 'name')), // Attribute, within a OpenId token, to use to connect a BookStack user to the OpenId user. 'external_id_attribute' => env('OPENID_EXTERNAL_ID_ATTRIBUTE', null), // Overrides, in JSON format, to the configuration passed to underlying OpenIDConnectProvider library. 'openid_overrides' => env('OPENID_OVERRIDES', null), + // Custom service instances, used by the underlying OpenIDConnectProvider library + 'openid_services' => [], + 'openid' => [ // OAuth2/OpenId client id, as configured in your Authorization server. 'clientId' => env('OPENID_CLIENT_ID', ''),