loreal-global-kickoff/config.php
DJP dbf7090d09 Initial commit: L'Oréal Box Asset Submission Form
- Set up PHP application with Composer and JWT library
- Implemented SSO authentication with local dev mode
- Created Box API service for folder validation
- Built two-column form interface (form + preview)
- Added real-time Box ID validation with AJAX
- Integrated webhook submission with status response
- Auto-populate Master Campaign Number from Box folder hierarchy
- Responsive design with Montserrat font and black/yellow theme

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 14:43:36 -05:00

49 lines
1.4 KiB
PHP

<?php
/**
* L'Oréal Box Asset Submission Form - Configuration
*/
return [
// SSO Configuration
'sso' => [
// KILL SWITCH: Set to false for local development, true for production
'enabled' => false,
// Azure AD Configuration (for production use)
'tenant_id' => '', // Add your Azure tenant ID when enabling SSO
'client_id' => '', // Add your Azure client ID when enabling SSO
// Local development user (used when SSO is disabled)
'local_user' => [
'name' => 'Dave Porter',
'email' => 'daveporter@oliver.agency'
]
],
// Box API Configuration
'box' => [
'jwt_config_path' => __DIR__ . '/43984435_77m2ujl3_config.json',
'enterprise_id' => '43984435',
// Box API endpoints
'api_base_url' => 'https://api.box.com/2.0',
'oauth_url' => 'https://api.box.com/oauth2/token',
// Token caching (in seconds)
'token_cache_duration' => 3600 // 1 hour
],
// Webhook Configuration
'webhook' => [
'url' => 'https://hook.us1.make.celonis.com/ddxrhuykysnbxqvb25uxsg0pjngqytiv',
'api_key' => 'E4P9923eBaUTKrEr.iqvHtVHcZ6L!WH',
'timeout' => 30 // seconds
],
// Application Settings
'app' => [
'name' => 'L\'Oréal Box Asset Submission',
'timezone' => 'UTC',
'debug' => true // Set to false in production
]
];