Files
SpiceManagementSystem/config/services.php
T
Malek TellissiandClaude Sonnet 4.6 0c44bfa6d0
Deploy / deploy (push) Failing after 12s
Implement role-based access control and revert hardcoded OAuth credentials
- sms-admin: full access (create, edit, delete)
- sms-manager: create and edit only, no delete
- sms-viewer: read-only, all write buttons hidden
- Apply EnforcesRolesInRelation trait to BatchesRelationManager
- Revert Nextcloud OAuth credentials to env vars (OAUTH_CLOUDSPICESBLUE_*)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-13 02:03:46 +02:00

53 lines
1.6 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Mailgun, Postmark, AWS and more. This file provides the de facto
| location for this type of information, allowing packages to have
| a conventional file to locate the various service credentials.
|
*/
'postmark' => [
'token' => env('POSTMARK_TOKEN'),
],
'ses' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
'resend' => [
'key' => env('RESEND_KEY'),
],
'slack' => [
'notifications' => [
'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),
'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),
],
],
'nextcloud' => [
'client_id' => env('OAUTH_CLOUDSPICESBLUE_ID'),
'client_secret' => env('OAUTH_CLOUDSPICESBLUE_SECRETKEY'),
'redirect' => env('OAUTH_CLOUDSPICESBLUE_REDIRECTURI', 'https://sms.spices.blue/auth/nextcloud/callback'),
'instance_uri' => 'https://cloud.spices.blue',
],
'shopify' => [
'domain' => env('SHOPIFY_SHOP_DOMAIN'),
'access_token' => env('SHOPIFY_ACCESS_TOKEN'),
'webhook_secret' => env('SHOPIFY_WEBHOOK_SECRET'),
'api_version' => '2024-10',
],
];