Hi, can i know what should i use for ‘redirectUri’ in coding? Bcos I tried several URI, but it showed the issue as below.
function loginWithKakao() {
Kakao.Auth.authorize({
redirectUri: ‘/v2/api/talk/friends/message/default/send’
})
}
Please help!!! Thank you.
Hello. Redirect URI is a callback URI that users are redirected to when they successfully log in.
To register Redirect URIs:
-
Go to [내 애플리케이션(My application)] > [제품설정(Product setting)] > 카카오 로그인(KakaoLogin) to set Redirect URIs.
-
Click [Redirect URI 등록] under ‘Redirect URI’ and specify Redirect URIs (up to 10). If you wish to register more than 10 Redirect URIs, contact us through Devtalk.
→ As of now, Developers site is provided in only Korean. We are in preparation for the English version. We would like to apologize for the inconvenience.
Make sure that the redirectUri in your code must coincide with the set URL as described above.
Refer to getting started and JS development guide for more detailed information.
Also, you can see the demonstration in here.
Thank you.
Hi, @sophia.wings, thank you for the response.
FYI, I did registered the Redirect URI ,but i still hv the same problems.
Thank you.
Hello, @anon56029308 !
Since Redirect Path has deprecated, you should set only ‘service domain’ as Redirect URI, excepting for ‘login redirect path’ when registering new Redirect URIs.
Refer to the Notice on the policy change.
Thank you.