mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
076693efc9
Also added icon svg blade helper. Closes #125. Starts #213. Requires documentation.
80 lines
2.4 KiB
PHP
80 lines
2.4 KiB
PHP
<?php
|
|
|
|
return [
|
|
|
|
/*
|
|
|--------------------------------------------------------------------------
|
|
| Third Party Services
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| This file is for storing the credentials for third party services such
|
|
| as Stripe, Mailgun, Mandrill, and others. This file provides a sane
|
|
| default location for this type of information, allowing packages
|
|
| to have a conventional place to find your various credentials.
|
|
|
|
|
*/
|
|
'disable_services' => env('DISABLE_EXTERNAL_SERVICES', false),
|
|
'callback_url' => env('APP_URL', false),
|
|
|
|
'mailgun' => [
|
|
'domain' => '',
|
|
'secret' => '',
|
|
],
|
|
|
|
'mandrill' => [
|
|
'secret' => '',
|
|
],
|
|
|
|
'ses' => [
|
|
'key' => '',
|
|
'secret' => '',
|
|
'region' => 'us-east-1',
|
|
],
|
|
|
|
'stripe' => [
|
|
'model' => BookStack\User::class,
|
|
'key' => '',
|
|
'secret' => '',
|
|
],
|
|
|
|
'github' => [
|
|
'client_id' => env('GITHUB_APP_ID', false),
|
|
'client_secret' => env('GITHUB_APP_SECRET', false),
|
|
'redirect' => env('APP_URL') . '/login/service/github/callback',
|
|
],
|
|
|
|
'google' => [
|
|
'client_id' => env('GOOGLE_APP_ID', false),
|
|
'client_secret' => env('GOOGLE_APP_SECRET', false),
|
|
'redirect' => env('APP_URL') . '/login/service/google/callback',
|
|
],
|
|
|
|
'slack' => [
|
|
'client_id' => env('SLACK_APP_ID', false),
|
|
'client_secret' => env('SLACK_APP_SECRET', false),
|
|
'redirect' => env('APP_URL') . '/login/service/slack/callback',
|
|
],
|
|
|
|
'facebook' => [
|
|
'client_id' => env('FACEBOOK_APP_ID', false),
|
|
'client_secret' => env('FACEBOOK_APP_SECRET', false),
|
|
'redirect' => env('APP_URL') . '/login/service/facebook/callback',
|
|
],
|
|
|
|
'twitter' => [
|
|
'client_id' => env('TWITTER_APP_ID', false),
|
|
'client_secret' => env('TWITTER_APP_SECRET', false),
|
|
'redirect' => env('APP_URL') . '/login/service/twitter/callback',
|
|
],
|
|
|
|
'ldap' => [
|
|
'server' => env('LDAP_SERVER', false),
|
|
'dn' => env('LDAP_DN', false),
|
|
'pass' => env('LDAP_PASS', false),
|
|
'base_dn' => env('LDAP_BASE_DN', false),
|
|
'user_filter' => env('LDAP_USER_FILTER', '(&(uid=${user}))'),
|
|
'version' => env('LDAP_VERSION', false)
|
|
]
|
|
|
|
];
|