- RegisterSerializer에 비밀번호 정책 검증 추가
- ExtendPasswordExpiryView: 비밀번호 유효기간 연장 API
- CustomTokenObtainPairSerializer: 로그인 시 만료/잠금 검증
- password_utils.py: 정책 검증, 계정 잠금, 만료 체크 유틸리티
- SiteSettings 모델에 비밀번호 정책 필드 추가
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- ChangePasswordView API 추가 (사용자 본인 비밀번호 변경)
- 소셜 로그인 계정 비밀번호 설정 지원
- 관리자 비밀번호 초기화 기능 (UserUpdateView)
- RegisterSerializer에 has_password 필드 추가
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Google 소셜 로그인 신규 가입 시 관리자 승인 대기 상태로 변경
- UserUpdateView에 등급(grade) 변경 기능 추가
- admin 등급 부여는 admin만 가능하도록 제한
- 자기 자신의 admin 등급 하향 방지
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- GoogleLoginView: 커스텀 클레임(name, grade, email, sub, iss) 포함하도록 수정
- GoogleLinkWithPasswordView: 동일하게 커스텀 클레임 포함
- 일반 로그인과 동일한 JWT 페이로드 구조 유지
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Google ID Token 검증 및 로그인/회원가입 기능
- 기존 계정 연동 기능 (비밀번호 확인 후 연동)
- 프로필에서 Google 연동/해제 기능
- CustomUser 모델에 social_provider, social_id, profile_image 필드 추가
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- PUT /api/auth/nhn-cloud/projects/{id}/ 수정 API
- GET /api/auth/nhn-cloud/projects/{id}/ 상세 조회 API
- 프로젝트 생성 로직 수정 (encrypted_password 설정)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add NHN Cloud credential fields to User model (tenant_id, username, encrypted password, storage_account)
- Add API endpoints for credentials CRUD operations
- Implement Fernet encryption for password storage
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>