Project

General

Profile

Actions

Feature #846

open
충장 희노

[P1] 인증·회원 4계층 (회원가입·로그인·JWT·로그아웃·관리자 권한)

Feature #846: [P1] 인증·회원 4계층 (회원가입·로그인·JWT·로그아웃·관리자 권한)

Added by 충만 장 24 days ago. Updated 22 days ago.

Status:
New
Priority:
Normal
Assignee:
Start date:
Due date:
% Done:

0%

Estimated time:
(Total: 0:00 h)

Description

  • auth/ 4계층 폴더 생성 완료 (PR #3)
  • 10/26 우선 구현 예정: 회원가입·로그인(JWT 발급), get_current_user, require_admin, 관리자 초기화 명령, 블랙리스트 로그아웃 및 같은 토큰 401 검증
  • import 경로: from auth.presentation.dependencies import get_current_user, require_admin (P4 사용)

Subtasks 8 (8 open — 0 closed)

Feature #942: [P1] users·token_blacklist 모델/테이블 (GH #10)New희주 노

Actions
Feature #943: [P1] 회원가입 API (POST /auth/signup) (GH #11)New희주 노

Actions
Feature #944: [P1] 로그인 API (POST /auth/login) (GH #12)New희주 노

Actions
Feature #945: [P1] 내 정보·로그아웃 API (GET /auth/me, POST /auth/logout) (GH #13)New희주 노

Actions
Feature #946: [P1] get_current_user·require_admin 의존성 + 사용법 문서 (GH #14)New희주 노

Actions
Feature #947: [P1] 관리자 초기화 로컬 명령 (GH #15)New희주 노

Actions
Feature #948: [P1][FE] 로그인·회원가입·내 정보 화면 전환 (GH #16)New희주 노

Actions
Feature #949: [P1] 인증 테스트 (401·403 시나리오) (GH #17)New희주 노

Actions

충장 Updated by 충만 장 24 days ago Actions #1

GitHub 기준 (10/25)

YK Updated by Yeoreum Kim 22 days ago Actions #2

GitHub 기준 (10/26)
PR #49 (heeju → main, 열림·리뷰 대기): https://github.com/hiju200208-png/KANT_MOA_develop/pull/49
POST /auth/signup, POST /auth/login(OAuth2 form), GET /auth/me, POST /auth/logout(블랙리스트) / Argon2 해싱, HS256 JWT
get_current_user·require_admin 제공 (CurrentUser.id = UUID), 관리자 생성 CLI backend/scripts/create_admin.py
Alembic 도입: 단일 head 3f21520f9615, 공용 DB에는 미적용(최초 이력 처리 방식 합의 후)
검증: 최신 main 병합 후 181 passed, 17 skipped / Swagger 가입 201·로그인 200·로그아웃 204 후 같은 토큰 401, 미인증 401·USER 403·ADMIN 200
남은 일: PR 리뷰·병합 → main.py 라우터 등록(P3·P4 대기), Google 로그인, 프론트 토큰 연결

YK Updated by Yeoreum Kim 22 days ago Actions #3

  • Subtask #942 added

YK Updated by Yeoreum Kim 22 days ago Actions #4

  • Subtask #943 added

YK Updated by Yeoreum Kim 22 days ago Actions #5

  • Subtask #944 added

YK Updated by Yeoreum Kim 22 days ago Actions #6

  • Subtask #945 added

YK Updated by Yeoreum Kim 22 days ago Actions #7

  • Subtask #946 added

YK Updated by Yeoreum Kim 22 days ago Actions #8

  • Subtask #947 added

YK Updated by Yeoreum Kim 22 days ago Actions #9

  • Subtask #948 added

YK Updated by Yeoreum Kim 22 days ago Actions #10

  • Subtask #949 added
Actions

Also available in: PDF Atom