From c4debac6dbc8aba71587e80d4500d71257afdb23 Mon Sep 17 00:00:00 2001 From: happybell80 Date: Sun, 14 Sep 2025 23:57:51 +0900 Subject: [PATCH] docs: Update authentication system and troubleshooting docs --- 300_architecture/380_authentication_system.md | 4 ++-- troubleshooting/250826_slack_id_column_standardization.md | 4 ++-- troubleshooting/250914_admin_robeing_monitor_schema_error.md | 5 +++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/300_architecture/380_authentication_system.md b/300_architecture/380_authentication_system.md index e9e3d3d..db87a5d 100644 --- a/300_architecture/380_authentication_system.md +++ b/300_architecture/380_authentication_system.md @@ -142,7 +142,7 @@ sequenceDiagram ### 추가 필요 사항 - PKCE (Proof Key for Code Exchange) - Refresh Token 구현 -- Rate Limiting +- Rate Limiting 및 본인 확인(user_id=JWT.sub 매칭) - 토큰 암호화 저장 ## 환경 변수 @@ -191,4 +191,4 @@ DATABASE_URL=postgresql://robeings:password@localhost/main_db ## 관련 문서 - [Slack OAuth 구현 상세](/home/heejae/DOCS/troubleshooting/250831_slack_oauth_login_implementation.md) - [UUID 변환 시스템](./uuid_conversion_system.md) -- [Gateway Proxy Patterns](./gateway_proxy_patterns.md) \ No newline at end of file +- [Gateway Proxy Patterns](./gateway_proxy_patterns.md) diff --git a/troubleshooting/250826_slack_id_column_standardization.md b/troubleshooting/250826_slack_id_column_standardization.md index 369a060..95f7a28 100644 --- a/troubleshooting/250826_slack_id_column_standardization.md +++ b/troubleshooting/250826_slack_id_column_standardization.md @@ -87,7 +87,7 @@ CREATE TABLE user_preferences ( -- ✅ 테이블 생성 완료 ### 프론트엔드 연동 - ActivityPanel 설정 UI에서도 동일하게 user_preferences 수정 - Gateway API 엔드포인트로 CRUD 구현 -- **⚠️ 구조 불일치 문제 발견**: [상세 문서](/home/happybell/projects/ivada/DOCS/troubleshooting/250827_frontend_backend_user_preferences_mismatch.md) 참조 +- **⚠️ 구조 불일치 문제 발견**(일부 환경 DB 미반영으로 오류 가능): [상세 문서](/home/happybell/projects/ivada/DOCS/troubleshooting/250827_frontend_backend_user_preferences_mismatch.md) 참조 --- @@ -116,4 +116,4 @@ CREATE TABLE user_preferences ( -- ✅ 테이블 생성 완료 *작성: 2025-08-26 22:00* *최종 업데이트: 2025-08-27 00:15* -*코드 확인: Git pull로 모든 서비스 확인 완료* \ No newline at end of file +*코드 확인: Git pull로 모든 서비스 확인 완료* diff --git a/troubleshooting/250914_admin_robeing_monitor_schema_error.md b/troubleshooting/250914_admin_robeing_monitor_schema_error.md index a7e8346..1339d20 100644 --- a/troubleshooting/250914_admin_robeing_monitor_schema_error.md +++ b/troubleshooting/250914_admin_robeing_monitor_schema_error.md @@ -5,7 +5,7 @@ ## 환경: 51124 서버, robeing-monitor, PostgreSQL ## 문제 증상 -Gateway에서 stats API 호출 시 매분마다 500 에러 발생 +Gateway에서 stats API 호출 시 매분마다 500 에러 발생, preferences 호출 시 "column \"slack_user_id\" does not exist" 오류 발생 ### 에러 로그 ``` @@ -46,6 +46,7 @@ ALTER TABLE robeing ADD COLUMN robeing_id VARCHAR(50); - Gateway 로그: 매분 실패 기록 - 51124 서버: robeing_monitor 컨테이너 16시간 가동 중 - DB: main_db PostgreSQL + - 참고: preferences 연동 문서(DOCS/troubleshooting/250827_frontend_backend_preferences_API_연동_완료.md) ## 상태 -🔴 미해결 - 로컬 개발자 작업 대기 \ No newline at end of file +🔴 미해결 - 로컬 개발자 작업 대기