Repository navigation
fix(auth): OAuth 재시도에서 요청 자격증명 출처를 보존하라 - #515
Merged
Merged
Conversation
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.
이유
#511에서 확인한 인증 회귀를 수정합니다. 명시 키가 거부됐을 때 저장된 OAuth로 바뀌거나, 갱신한 키와 이전 Authorization 헤더가 함께 전송되던 경로입니다.
변경
authHeader: true라면 재시도에 쓰는 새 키로 Authorization을 생성합니다.범위
릴리스 버전, 배포 워크플로, 로컬 엔진 전환은 변경하지 않습니다.
검증
npm run check통과. 실제 provider 호출은 하지 않았습니다.