로컬(localhost:8080)에서 카카오톡 restApi를 사용해서 로그인, 회원가입 연동까지 잘 됐었습니다.
테스트 서버에서도 잘 됐으나
테스트 서버를 http에서 https로 변경하고 카카오톡 로그인을 하려고 하니 잘 되지 않습니다.
기존 앱에서 도메인 정보, 리다이렉트 uri도 변경해서 했는데 안됐습니다.
새로운 앱으로 만들어서 clientId를 바꿔서 해도 안됩니다 ㅜㅜ…
에러는 다음과 같습니다.
error=“invalid_grant”, error_description=“Invalid redirect: https://icim2019.a2m.co.kr/oauth/kakao does not match one of the registered values. Please check app settings on kakao developer site.”
제가 카카오로 보내는 clientId와 responseType, redirectUri는 다음과 같이 보내고 있습니다.
https://kauth.kakao.com/oauth/authorize?client_id=MyAppKey&response_type=code&redirect_uri=https://icim2019.a2m.co.kr/oauth/kakao
도메인 주소도 맞고, redirect url도 맞게 적었는데 왜 안되는지 모르겠습니다…
도움 부탁드립니다.