I have integrated kakao as a social login to my application and using JavaScript SDK.
But I am facing an issue with mobile browser. In mobile browser when the user clicks on login with kakao it opens the popup but the popup suddenly closes and this happens for 3-4 times before completely opening the popup with email and password field and allowing the user to login. sometimes it keeps closing forever.
I found link to this page http://test-tam.pe.kr/kakao.php from the docs and checked if it is working in my browser it is working fine. I tried this with mobile mode of Chrome developer tools and it is working fine.
I just noticed that when the popup closes suddenly the url is about:blank
Hello,
Thanks for replying, I am reproducing the issue on my local server .Here is the video of the issue I am facing and the URL which is opening in the popup
As you can see the popup closes for 2-3 times and then opens with correct content.
Please refrain from using popup login in mobile view mode disguised as an iPhone. When popups open in your browser, the UserAgent values are conflicting between “Ubuntu” and “iOS Firefox”. Kindly turn off mobile view mode for testing, and I recommend using the redirect_uri method.
Actually this is happening on Safari mobile browser and Chrome mobile browser on IOS. I was replicating this on local machine(Ubuntu) to debug why this was happening.
If the user is already connected (logged in with Kakao) to the service, the consent screen will not be displayed, and the popup will close immediately. (This process may appear as a brief flicker.)
If the issue persists on your actual device, please provide the video of the test along with the time(UTC).
Additionally, if we could access the URL where the issue is reproducible from our end, it would greatly assist in identifying the cause.
There is no difference between login on your site and login on my site.
However, since my site said it was working normally, I think there will be a problem with your site dependency.
Please make a page where only Kakao login is applied and check it
Works fine on mobile safari and chrome.
I couldn’t reproduce it.
(1) From the attached video, it seems that Google login is also failing.
(2) The device you tested does not appear to be able to access the talk-apps.kakao.com Universal link.
Please check it in another test device, another network environment.
We need to check if the site you developed has an impact.
Please check the normal operation with the html page with only Kakao login.
It cannot be reproduced in the URL you provided.
Could you please provide a URL that is accessible for confirmation? Additionally, could you please share the code you implemented? Thank you.
Additionally, the Kakao.Auth.login feature, a pop-up login method, is not allowed in many in-app browsers(instagram, facebook, etc…).
We recommend that you use the Kakao.Auth.authorize method.
The requirement for my application is to have popup login method.
Kakao.Auth.authorize redirects to Kakao where user will complete the login process but this breaks my current sign in flow which works for other social logins.
Is there any way to fix the issue on mweb and still use popup login method?
Have you tried using the approach without Promises and tested it out?
There might be unexpected behavior if a popup is invoked while the user interaction is disconnected.