fix: PAYCO 로그인 idNo 파싱 버그 수정#992
Merged
Merged
Conversation
PAYCO는 프로필 조회에 2단계 API 호출이 필요함: 1. getIdNoByFriendsToken.json → idNo 획득 2. find_member_v2.json → idNo, MemberProfile 파라미터로 프로필 조회 SvelteKit 전환 시 Step 1이 누락되어 find_member_v2.json에 idNo 없이 호출 → member 데이터가 비어 옴 → identifier가 빈 문자열 → 기존 계정 매칭 실패 → 새 계정 생성 또는 로그인 불가 레거시 PHP (HybridAuth Hybrid_Providers_Payco)의 동작을 복원함.
8568351 to
fd2c63a
Compare
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.
Summary
getIdNoByFriendsToken.json→idNo획득find_member_v2.json→idNo,MemberProfile파라미터로 프로필 조회identifier가 빈 문자열로 저장됨Root Cause
레거시 PHP (
Hybrid_Providers_Payco)는 2단계로 동작:check_valid_access_token()→getIdNoByFriendsToken.json에서idNo획득getUserProfile()→find_member_v2.json에idNo+MemberProfile파라미터 전달SvelteKit 전환 시 Step 1을 생략하고
find_member_v2.json만 호출 → member 데이터가 비어 옴Impact
google_92a00911) - Payco 로그인 시 register 페이지로 리다이렉트payco_909208a4(소닉) - 빈 identifier로 계정 생성됨Test plan