Set up social login with Kakao
The Kakao connector provides a succinct way for your application to use Kakao’s OAuth 2.0 authentication system.
tip:
This guide assumes you have basic understanding of Logto Connectors. For those unfamiliar, please refer to the Connectors guide to get started.
Set up a project in the Kakao Devlopers Console
- Visit the Kakao Developers Console and sign in with your Kakao account.
- Click the Add an application to create new project or choose exist project.
Configure Kakao Login
Activate Kakao Login
- Click the Product Settings -> Kakao Login from the menu.
- Turn on
Kakao Login Activation - Add below URL into
Redirect URIhttp(s)://YOUR_URL/callback/${connector_id}(Theconnector_idcan be found on the top bar of the Logto Admin Console connector details page.)- (Please replace
YOUR_URLwith yourLogtoURL, and choosehttporhttpson your situation.)
Privacy Setting
- Click the Product Settings -> Kakao Login -> Consent Item from the menu.
- Change state of
Nickname,Profile image, andEmailto Required consent (You might not able to changeEmailto Required consent because of your project setting.)
Security Setting (Optional)
- Click the Product Settings -> Kakao Login -> Security from the menu.
- Click the
Client secret codeto generate secret code. - Change
Activation stateto Enable. (If you enable it,secret codeis necessary.)
Configure Logto
Config types
| Name | Type |
|---|---|
| clientId | string |
| clientSecret | string? |
clientId
clientId is REST API key of your project.
(You can find it from summary of your project from Kakao developers console.)
clientSeceret
clientSecret is Secret Code of your project.
(Please check Security Setting (Optional))