Kakao SDK : 2.14.0
카카오톡이 설치 된 상태에서 로그인을 진행 하면 수신까진 되는데 그 다음으로 넘어가질 않습니다.
테스트 중인 앱의 로그
2023-02-20 12:06:16540 [][MigrateManager.swift 21:17] → ============================================================================================================
2023-02-20 12:06:16543 [][MigrateManager.swift 22:17] → check migration…
2023-02-20 12:06:16544 [][MigrateManager.swift 24:21] → pass migration…
2023-02-20 12:06:16544 [][MigrateManager.swift 25:21] → used sdk version:2.14.0
2023-02-20 12:06:16554 [][AuthApiCommon.swift 44:17] → >>>> [KakaoSDKCommon.SessionType.Api: Alamofire.Session, KakaoSDKCommon.SessionType.AuthApi: Alamofire.Session, KakaoSDKCommon.SessionType.Auth: Alamofire.Session, KakaoSDKCommon.SessionType.RxAuthApi: Alamofire.Session]
**2023-02-20 12:06:16556 [][AuthController.swift 412:21] → code_verifier: #### **
**2023-02-20 12:06:16556 [][AuthController.swift 415:25] → code_challenge: #### **
2023-02-20 12:06:16616 [][AuthController.swift 139:25] → 카카오톡 실행: kakaokompassauth://authorize?client_id=4a00682de0d6f07046cc582685cb0502&headers=%7B%22KA%22:%22sdk%5C/2.14.0%20sdk_type%5C/swift%20os%5C/ios-16.3%20lang%5C/ko-KR%20res%5C/390x844%20device%5C/iPhone%20origin%5C/kr.sharenshare.itsokey%20app_ver%5C/1.0.0%22%7D¶ms=%7B%22code_challenge_method%22:####&redirect_uri=kakao4a00682de0d6f07046cc582685cb0502://oauth&response_type=code
2023-02-20 12:06:17.403154+0900 itsokey[12325:4770915] [Common] Snapshot request 0x282bd18f0 complete with error: <NSError: 0x282bdec10; domain: BSActionErrorDomain; code: 6 (anulled)>
SDK Sample 로 실행해본 로그
2023-02-20 12:01:45709 [][MigrateManager.swift 21:17] → ============================================================================================================
2023-02-20 12:01:45713 [][MigrateManager.swift 22:17] → check migration…
2023-02-20 12:01:45714 [][MigrateManager.swift 43:17] → ============================================================================================================
2023-02-20 12:01:45715 [][MigrateManager.swift 44:17] → start migration sdk from v1 to v2…
2023-02-20 12:01:45715 [][MigrateManager.swift 68:21] → first time sdk v2…
2023-02-20 12:01:45723 [][MigrateManager.swift 96:17] → finished migration sdk…
2023-02-20 12:01:45800 [][AuthApiCommon.swift 44:17] → >>>> [KakaoSDKCommon.SessionType.AuthApi: Alamofire.Session, KakaoSDKCommon.SessionType.RxAuthApi: Alamofire.Session, KakaoSDKCommon.SessionType.Auth: Alamofire.Session, KakaoSDKCommon.SessionType.Api: Alamofire.Session]
2023-02-20 12:01:45801 [][AuthController.swift 412:21] → code_verifier: ####
2023-02-20 12:01:45801 [][AuthController.swift 415:25] → code_challenge: ####
2023-02-20 12:01:48648 [][AuthController.swift 139:25] → 카카오톡 실행: kakaokompassauth://authorize?headers=%7B%22KA%22:%22sdk%5C/2.14.0%20sdk_type%5C/swift%20os%5C/ios-16.3%20lang%5C/ko-KR%20res%5C/390x844%20device%5C/iPhone%20origin%5C/kr.sharenshare.kakao.sdk.sample.open%20app_ver%5C/2.14.0%22%7D&client_id=e19a463823bdbefb87c2c66c3fb6ab59&redirect_uri=kakaoe19a463823bdbefb87c2c66c3fb6ab59://oauth&response_type=code¶ms=%7B%22code_challenge%22:%#####,%22code_challenge_method%22:%22S256%22%7D
2023-02-20 12:01:49.421902+0900 SDK Sample[12297:4767013] [Common] Snapshot request 0x281e1ccf0 complete with error: <NSError: 0x281e1c510; domain: BSActionErrorDomain; code: 6 (anulled)>
2023-02-20 12:01:50433 [][Api.swift 127:29] → ===================================================================================================
2023-02-20 12:01:50439 [][Api.swift 128:29] → session:
type: Auth
2023-02-20 12:01:50442 [][Api.swift 129:29] → request:
method: HTTPMethod(rawValue: “POST”)
url:https://kauth.kakao.com/oauth/token
headers:nil
parameters: Optional([“client_id”: “e19a463823bdbefb87c2c66c3fb6ab59”, “redirect_uri”: “kakaoe19a463823bdbefb87c2c66c3fb6ab59://oauth”, “ios_bundle_id”: “kr.sharenshare.kakao.sdk.sample.open”, “grant_type”: “authorization_code”, “code_verifier”: “#####”, “code”: “#####”])
2023-02-20 12:01:50444 [][Api.swift 130:41] → response:
Optional({
error = misconfigured;
"error_code" = KOE009;
"error_description" = “invalid android_key_hash or ios_bundle_id or web_site_url”;
})
생략…
뭔가 redirect_uri 도 다른 것 같고 한데… 제가 설정을 잘못해서 나는 오류 일까요?
아무리 검색을 해도 잘 나타나지 않습니다 ㅠㅠ