Skip to content

Commit

Permalink
fix: change
Browse files Browse the repository at this point in the history
  • Loading branch information
GitJIHO committed Nov 15, 2024
1 parent d289a40 commit 93a1be7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class KakaoApiService {
private final KakaoProperties kakaoProperties;

public String getAuthorizationUrl(HttpServletRequest httpServletRequest) {
String requestUrl = httpServletRequest.getHeader("Referer");
String requestUrl = httpServletRequest.getHeader("Origin");
if (requestUrl == null) {
throw new BadRequestException("해당 도메인에서는 카카오 로그인이 불가합니다.");
}
Expand Down

0 comments on commit 93a1be7

Please sign in to comment.