What is the purpose of site domain

what shoud be the redirect uri ??

We use site domain for a variety of purposes, such as delivering authorization code via redirect uri and validating links in KakaoLink v2 message.

Redirect path in “web platform” setting should be the path to receive authorization code via query parameter.

GET /oauth/authorize?client_id={app_key}&redirect_uri={redirect_uri}&response_type=code HTTP/1.1
Host: kauth.kakao.com

The above url is the one you should request when using Kakao Login REST API, Here, redirect_uri should be one of your site domain + “redirect path” you have set up in “web platform” setting.

If your site domain is https://example.com and redirect_path is /oauth, you have to supply rediret_uri parameter as

https://example.com/oauth

Normally, you use something like https://example.com/oauth/kakao since there can be more than one OAuth providers (such as facebook).

Feel free to reply here if you have any more question. :slight_smile: