Login issues with Kakao.Auth.authorize()

Didn’t you install it and then uninstall it?

Yes, I installed it before and uninstalled it later.

Is it possible to test with a device that has never been installed? (I want to compare.)

wait a minute, let me try

1개의 좋아요

Problems will also occur if the app has never been installed, but the probability of not installing and uninstalling the app is high

Okay, thank you for test

I don’t know why JS SDK is mistaken on your mobile device.
But fundamentally, it is possible to eliminate the cause of the problem.

Kakao.Auth.login() : When calling a function, set “throughTalk” to false and run it

If throughTalk is set to false, will it not be possible to quickly log in through the kakao talk app on the device where the kakao talk app is installed?

If you set it to false, you will log in to the Kakao account login page, not the Kakao app.

We cannot reproduce your situation. Until the cause is identified, it would be better to use it like this or use an “authorize” method of login.

I use Kakao.Auth.authorize() in the safari browser. After waking up the kakao talk app and logging in, can the kakao talk app not actively jump back to my safari browser? Now users need to actively close the kakao talk app, and manually click to open the browser.

hi,
You mean it’s displayed as below, right?

This cannot be automatically returned to the previous app with iOS policy and must be returned to user action.

If you successfully logged in from the original browser, there is no problem. This is iOS’s policy.

image

Another question is, in the safari browser, when the kakao talk app is not installed, use Kakao.Auth.authorize() to log in, how to specify the final jump address of the page?

If you don’t have a Kakao Talk app, it’s usually as follows.
The procedure below is the same regardless of the presence or absence of the Kakao Talk app.

(1) Click the Kakao Login button on the site
(2) Go to kauth
(3) Go to Redirect URI
(4) Landing from Redirect URI to the desired page


(3)
You must be able to log in to the service or register as a member at this stage.


JavaScript | Kakao Developers JavaScript

Kakao.Auth.authorize({
  redirectUri: '${REDIRECT_URI}'
});

Is there a way for me to tell if the user has the kakao talk app installed?

intent:#Intent;action=com.kakao.talk.intent.action.CAPRI_LOGGED_IN_ACTIVITY;~~~;end;

If “User-Agent” is mobile, call the Intent scheme. (iOS UniversalLink)

Android is judged as a call failure, and iOS is judged by Universal Link.

Users do not need to judge and do not provide the function to judge.

I am a mobile page and use it in safari. Is there any kakao api support?

Are you talking about the API that determines whether it is installed or not?

JS SDK does not have an API that determines whether or not KakaoTalk is installed.

(Only internal processing.)

image

I opened it with the safari browser, and after the login was completed, it did not automatically jump back to the browser.

image

What happens if I choose the part shown above?

Go back to the Safari browser and log in successfully.
However, shouldn’t it automatically return to the safari browser?

Login issues with Kakao.Auth.authorize() - tim.l님의 글 #20

This cannot be automatically returned to the previous app with iOS policy and must be returned to user action.
This is iOS’s policy.

If this is inconvenient, don’t log in through Kakao Talk, but set it up to log in through Kakao account login page.

throughTalk : false