fix: SSAFY OAuth 로그인 수정 및 API 클라이언트 안정성 개선 (8건)
Some checks failed
Client CI/CD / test (push) Waiting to run
Client CI/CD / deploy (push) Has been cancelled

- SSAFY OAuth state 파라미터 전달 추가 (로그인 불능 해결)
- POST/PUT/DELETE 5xx 및 네트워크 에러 재시도 방지 (멱등 요청만 재시도)
- UserAdmin 페이지네이션 추가 (offset/limit)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-18 23:26:40 +09:00
parent ae013acd2d
commit 4e3a01428a
5 changed files with 31 additions and 13 deletions

View File

@@ -22,10 +22,10 @@ export async function getSSAFYLoginURL() {
return apiFetch('/api/auth/ssafy/login');
}
export async function ssafyCallback(code) {
export async function ssafyCallback(code, state) {
return apiFetch('/api/auth/ssafy/callback', {
method: 'POST',
body: JSON.stringify({ code }),
body: JSON.stringify({ code, state }),
});
}