안녕하세요
질문 전에 앱ID랑 앱명 알려드립니다.
ID 916622
앱명 : side-management
이게 테스트를
https://kauth.kakao.com/oauth/authorize?client_id={client_id}&redirect_uri=http://localhost:8080/login/oauth/kakao&response_type=code&scope=account_email,gender,birthday
로 하면 제가 의도한 controller를 잘 타서 진행이 되는데
발급 받은 code로 아래와 같이 접속하면 에러가 나네요
http://localhost:8080/login/oauth/kakao?code={code}
어떤 문제인지 궁금합니다.
2023-06-04 19:30:37,580 ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.web.reactive.function.client.WebClientResponseException$BadRequest: 400 Bad Request from POST https://kauth.kakao.com/oauth/token] with root cause
org.springframework.web.reactive.function.client.WebClientResponseException$BadRequest: 400 Bad Request from POST https://kauth.kakao.com/oauth/token
at org.springframework.web.reactive.function.client.WebClientResponseException.create(WebClientResponseException.java:217)
Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException:
Error has been observed at the following site(s):
*__checkpoint ⇢ 400 from POST https://kauth.kakao.com/oauth/token [DefaultWebClient]