fix: JWT 토큰에 adminId 클레임 추가 (#260) #261
No reviewers
SPMS/Owners
Labels
No Label
Priority
High
Priority
Low
Priority
Medium
Priority
Non
Priority
Urgent
Status
Available
Status
Done
Status
In Progress
Type
Bug
Type
Chore
Type
Design
Type
Documentation
Type
Feature
Type
Improvement
Type
Refactor
Type
Research
Type
Task
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SPMS/SPMS_API#261
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/#260-jwt-adminid-claim"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 작업 요약
adminId클레임이 누락되어 모든 컨트롤러에서 500 에러 발생하는 버그 수정🔗 관련 이슈 (Related Issues)
Closes #260
🛠️ 작업 내용 (Changes)
JwtService.cs—GenerateAccessToken에"adminId"클레임 추가📢 리뷰어 참고 사항 (To Reviewers)
adminId클레임이 없으므로 반드시 재로그인 필요sub클레임은 JWT 표준으로 유지,adminId는 비즈니스 로직용으로 별도 추가✅ 체크리스트 (Self Checklist)
📸 스크린샷 / 테스트 로그 (Screenshots/Logs)
빌드 성공: 경고 0개, 오류 0개
- GenerateAccessToken에서 adminId 클레임을 별도로 추가 - 컨트롤러에서 User.FindFirst("adminId")로 조회 가능하도록 수정 Closes #260