관리자 로그인 기능 추가#12
Open
soohyunme wants to merge 3 commits into
Open
Conversation
Member
Author
|
운영 배포 메모를 보강합니다.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요약
.env기반 단일 admin 계정 로그인을 추가했습니다.pbkdf2_sha256hash로 검증하고, 로그인 성공 시HttpOnly세션 쿠키를 발급합니다./api/v1관리 API를 세션 쿠키로 보호합니다./login, 인증 상태 provider, route guard, 로그아웃 동선을 추가했습니다.backend/.env.sample과 setup guide에 admin auth 설정 방법을 문서화했습니다.공개 유지 API
/api/v1/status/api/v1/auth/*/api/v1/capture/api/v1/identify/api/v1/feature-flags/decide/api/v1/experiments/*/assign/*검증
cd backend && .venv/bin/pytest— 121 passedcd frontend && npm test -- --run— 49 passedcd frontend && npm run buildgit diff --check운영 메모
AUTH_COOKIE_SECURE=falseAUTH_COOKIE_SECURE=truecd backend && python scripts/hash_admin_password.py