안녕하세요.
현재 대한항공 홈페이지 개발자입니다.
www.koreanair.com
얼마전 홈페이지 새로 오픈했고, 로그인 수단중 하나로 카카오 로그인을 제공하고있습니다.
카카오톡 내장 브라우저로 카카오 로그인시 첨부한 그림,동영상과 같은 오류가 발생합니다.
PC브라우저나 모바일 브라우저는 잘 동작하고 있습니다.
로그인을 호출하는 스크립트는 아래와 같습니다.
const redirectUri = encodeURIComponent(this.origin + ‘/login/callback’);
const clientId = environment.kakaoLoginClientId;
const state = encodeURIComponent(‘kak-’ + this.getUniqueState());
const win = window.open(https://kauth.kakao.com/oauth/authorize?response_type=code&client_id=${clientId}&redirect_uri=${redirectUri}&state=${state}
, ‘PopupWin’, this.getLoginPopupFeatures());
도움 요청드립니다.