Repository navigation
[BackEnd] 로그인 비즈니스 로직 설계 #27
sooah-0208
started this conversation in
Decision Log
Replies: 1 comment 1 reply
|
@sooah-0208 다만, 현재 내용이 구현 로직 위주로 나열되어 있어, FE 담당자가 보고 바로 API 연동을 준비하기에 어려움이 있지 않을까 싶습니다. 협업 효율을 위해서 하기 사항을 참조하시어 추후에 모든 코드가 확정 된 다음과 같은 사항들 추가 요청드립니다.
감사합니다. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
확정안
API 명세서
1. 로그인 정보 확인 (POST)
Description: 로그인 정보 확인 및 회사 선택 페이지 이동을 위한 데이터를 전달합니다.
POST/authRequest Parameters
1. Path Parameters
emailEmailStrpasswordstrResponse Body (JSON)
성공 (200 OK)
{ "status": true, "message": "로그인에 성공했습니다.", "data": { "uuid": "ec70c7bd080a49259b21a6d730afe626", "companys": [ { "id": 1, "name": "홍길동", "email": "test@gmail.com", "role_id": 2, "role": "ESG담당자", "company_id": 1, "company_name": "A회사" } ], "tempLogin": false } }실패
이거 있는지 확인후 없으면 삭제
2. 비밀번호 체크 (PATCH)
Description: 회원정보 수정 등 2차 인증이 필요한 경우 비밀번호를 체크하기 위함입니다.
PATCH/authRequest Parameters
1. Path Parameters
passwordstrResponse Body (JSON)
성공 (200 OK)
{ "status": true, "message": "임시 비밀번호가 메일로 발송 됐습니다.", "data": {} }실패
3. 로그아웃 처리 (DELETE)
Description: 로그아웃 처리(TOKEN Table의 uuid 관련 처리)를 수행합니다.
DELETE/authRequest Parameters
1. Path Parameters
uuidstr2. Header Parameters
해당 사항 없음
Response Body (JSON)
성공
{ "status": true, "message": "로그아웃 완료", "data": {} }실패
영향 범위
FE @x2bjvhmmwg-gif / BE / 문서 @frankie516c
담당자
@mpsddd-commits , @choiyc05 @sooah-0208
결정일
2026-04-23
All reactions