1 | <?php |
||
2 | |||
3 | return [ |
||
4 | /* |
||
5 | |-------------------------------------------------------------------------- |
||
6 | | Laravel SSO Settings |
||
7 | |-------------------------------------------------------------------------- |
||
8 | | |
||
9 | | Set type of this web page. Possible options are: 'server' and 'broker'. |
||
10 | | |
||
11 | | You must specify either 'server' or 'broker'. |
||
12 | | |
||
13 | */ |
||
14 | |||
15 | 'type' => 'server', |
||
16 | |||
17 | /* |
||
18 | |-------------------------------------------------------------------------- |
||
19 | | Settings necessary for the SSO server. |
||
20 | |-------------------------------------------------------------------------- |
||
21 | | |
||
22 | | These settings should be changed if this page is working as SSO server. |
||
23 | | |
||
24 | */ |
||
25 | |||
26 | 'usersModel' => \App\User::class, |
||
0 ignored issues
–
show
|
|||
27 | 'brokersModel' => Zefy\LaravelSSO\Models\Broker::class, |
||
28 | |||
29 | // Table used in Zefy\LaravelSSO\Models\Broker model |
||
30 | 'brokersTable' => 'brokers', |
||
31 | |||
32 | // Logged in user fields sent to brokers. |
||
33 | 'userFields' => [ |
||
34 | // Return array field name => database column name |
||
35 | 'id' => 'id', |
||
36 | ], |
||
37 | |||
38 | /* |
||
39 | |-------------------------------------------------------------------------- |
||
40 | | Settings necessary for the SSO broker. |
||
41 | |-------------------------------------------------------------------------- |
||
42 | | |
||
43 | | These settings should be changed if this page is working as SSO broker. |
||
44 | | |
||
45 | */ |
||
46 | |||
47 | 'serverUrl' => env('SSO_SERVER_URL', null), |
||
48 | 'brokerName' => env('SSO_BROKER_NAME', null), |
||
49 | 'brokerSecret' => env('SSO_BROKER_SECRET', null), |
||
50 | ]; |
||
51 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"]
, you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths