Files
sam-manage/config/services.php
kent 6525bfd715 feat: MNG → DEV 자동 로그인 기능 구현
- LoginToken 모델 생성 (토큰 생성 및 URL 생성)
- UserController에 loginToken API 메서드 추가
- DEV_APP_URL 환경설정 추가 (config/services.php)
- 사용자 목록에 "DEV 접속" 버튼 추가
- openDevSite JavaScript 함수 추가

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-20 13:43:13 +09:00

80 lines
2.3 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' => [
'key' => env('POSTMARK_API_KEY'),
],
'resend' => [
'key' => env('RESEND_API_KEY'),
],
'ses' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
'slack' => [
'notifications' => [
'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),
'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),
],
],
'gemini' => [
'api_key' => env('GEMINI_API_KEY'),
'project_id' => env('GEMINI_PROJECT_ID', 'codebridge-chatbot'),
],
'claude' => [
'api_key' => env('CLAUDE_API_KEY'),
],
'google' => [
'credentials_path' => env('GOOGLE_APPLICATION_CREDENTIALS'),
'storage_bucket' => env('GOOGLE_STORAGE_BUCKET'),
],
/*
|--------------------------------------------------------------------------
| SAM API Server
|--------------------------------------------------------------------------
| API 로그 재전송 시 사용할 API 서버 URL
| - 로컬 Docker: http://api:80
| - 개발 서버: https://api.codebridge-x.com
| - 운영 서버: https://api.sam.kr
*/
'api' => [
'base_url' => env('API_BASE_URL'),
'key' => env('FLOW_TESTER_API_KEY'),
'exchange_secret' => env('INTERNAL_EXCHANGE_SECRET'),
],
/*
|--------------------------------------------------------------------------
| DEV Site (React Frontend)
|--------------------------------------------------------------------------
| MNG → DEV 자동 로그인 시 사용할 DEV 사이트 URL
| - 로컬: https://dev.sam.kr
| - 개발: https://dev.codebridge-x.com
*/
'dev' => [
'app_url' => env('DEV_APP_URL', 'https://dev.sam.kr'),
],
];