공유하기가 잘되다가 가끔 버튼을 클릭하였을 때(로그인과 앱인증이 모두완료된 상태)
https://kauth.kakao.com/oauth/authorize?redirect_uri=kakaojs&response_type=code&state=&proxy=easyXDM_Kakao__provider&client_id=****
이 팝업 페이지에서 보안 에러?가 발생하여 진행되지 않습니다.
이 상태에서 해당 팝업창을 새로고침하면 창이 자동으로 닫히고
다시 시도하면 될때도 있고 안될 때도 있습니다.
크롬 에러메시지
Uncaught SecurityError: Blocked a frame with origin “https://kauth.kakao.com” from accessing a frame with origin “카카오 앱에 등록된 도메인”. The frame requesting access has a protocol of “https”, the frame being accessed has a protocol of “about”. Protocols must match.
또는 위 팝업 페이지에서
headers: { KA: proxyHost.getKakaoAgent() } 이 부분의 펑션이 없다라고 하면서 안되더라구요…
자주그러는건 아닌데 간헐적으로…
앱 도메인을 https로 변경하면 괜찮을까요? ㅠㅠ
아이폰 사파리에서 동일한 문제가있어 크롬으로 찍어보니까 저런 증상이 있었습니다.