feat: OAuth 로그인 후 리다이렉트 경로 추가 #126
Merged
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.
🔍 개요
🚀 주요 변경 내용
프론트엔드에서 로컬 환경 개발 시 OAuth 로그인을 하면 원하는 경로에 리다이렉트를 하지 않는 문제가 있어 이를 해결합니다.
~~/login/oauth2/code/google?redirect_uri={경로}를 지정하면 해당 로그인 성공 후 해당 경로로 리다이렉트 합니다.경로는 모두 허용하면 보안적 문제가 발생할 수 있기에
http://localhost:3000,https://agit.gg경로만 허용합니다.💬 참고 사항
✅ Checklist (완료 조건)