📱Mobile/오류해결

[React Native] Kakao Login - invalid android_key_hash or ios_bundle_id or web_site_url

뉴발자 2023. 3. 20.
728x90

 

 

 

 

 

 

 

 

 

 

에러 상황

React Native에 Kakao Login기능을 구현하고 버튼을 눌러서 로그인 함수를 호출하면 아래의 오류가 발생하였다.

 

그림 1-1. invalid android_key_hash or ios_bundle_id or web_site_url

 

 

 

 

에러 원인

Kakao Developer API의 Hash Key가 일치하지 않아서 오류가 발생했다.

 

 

 

 

해결 방법

Android는 Kakao Hash Key에 추가로 Hash Key를 등록해줘야 한다.

 

Hash Key를 Kakao Developer API에 추가로 등록해주면 된다.


 

Xo8WBi6jzSxKDVR4drqm84yr9iU=

 

 

그림 1-2. Hash Key 추가

 


 

 

 

 

참고

https://github.com/crossplatformkorea/react-native-kakao-login/issues/223

 

로그인시 'Login Failed:E_AUTHORIZATION_FAILED invalid android_key_hash or ios_bundle_id or web_site_url' 오류 · Issue #22

Version of kakao-login libraries 가장 최근 버전 Version of react-native Platforms you faced the error (IOS or Android or both?) 안드로이드 Expected behavior 로그인이 정상작동 해야함 Actual behavior 로그인 시도시 'Login Fa...

github.com

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

728x90

댓글