docs: Update authentication system and troubleshooting docs

This commit is contained in:
happybell80 2025-09-14 23:57:51 +09:00
parent 3477f65abf
commit c4debac6db
3 changed files with 7 additions and 6 deletions

View File

@ -142,7 +142,7 @@ sequenceDiagram
### 추가 필요 사항 ### 추가 필요 사항
- PKCE (Proof Key for Code Exchange) - PKCE (Proof Key for Code Exchange)
- Refresh Token 구현 - 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) - [Slack OAuth 구현 상세](/home/heejae/DOCS/troubleshooting/250831_slack_oauth_login_implementation.md)
- [UUID 변환 시스템](./uuid_conversion_system.md) - [UUID 변환 시스템](./uuid_conversion_system.md)
- [Gateway Proxy Patterns](./gateway_proxy_patterns.md) - [Gateway Proxy Patterns](./gateway_proxy_patterns.md)

View File

@ -87,7 +87,7 @@ CREATE TABLE user_preferences ( -- ✅ 테이블 생성 완료
### 프론트엔드 연동 ### 프론트엔드 연동
- ActivityPanel 설정 UI에서도 동일하게 user_preferences 수정 - ActivityPanel 설정 UI에서도 동일하게 user_preferences 수정
- Gateway API 엔드포인트로 CRUD 구현 - 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-26 22:00*
*최종 업데이트: 2025-08-27 00:15* *최종 업데이트: 2025-08-27 00:15*
*코드 확인: Git pull로 모든 서비스 확인 완료* *코드 확인: Git pull로 모든 서비스 확인 완료*

View File

@ -5,7 +5,7 @@
## 환경: 51124 서버, robeing-monitor, PostgreSQL ## 환경: 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 로그: 매분 실패 기록 - Gateway 로그: 매분 실패 기록
- 51124 서버: robeing_monitor 컨테이너 16시간 가동 중 - 51124 서버: robeing_monitor 컨테이너 16시간 가동 중
- DB: main_db PostgreSQL - DB: main_db PostgreSQL
- 참고: preferences 연동 문서(DOCS/troubleshooting/250827_frontend_backend_preferences_API_연동_완료.md)
## 상태 ## 상태
🔴 미해결 - 로컬 개발자 작업 대기 🔴 미해결 - 로컬 개발자 작업 대기