도움말 |
---|
게임에서 로그인을 연동하는 방법을 안내합니다This guide explains how to integrate login functionality in the game. |
하위 페이지(하위 항목 표시) | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
로그인이란?
...
출시 국가별 로그인 정책
IDP
인증 수단은 해당 서비스 제공 업체의 상황에 따라 신규 추가 및 지원 종료 가능
지원 가능 IDP
게스트
카카오
페이스북
구글
애플
트위터 “X”
국내
iOS의 경우 앱스토어 정책에 따라, 스토어에 등록된 개발사의 자체 인증시스템이 없이 소셜 IDP만으로 로그인을 지원한다면 '애플 로그인'을 필수 지원해야 합니다.
만약 국내에서 구글 피처드를 받을려면, android에서 아래의 기능을 추가 구현해야 합니다. (자세한 내용은 카카오 사업담당자에게 문의)
카카오 로그인일때, 구글인증을 백그라운드로 적용을 해야하고,
게스트 로그인도 지원해서 카카오계정으로 계정전환을 하게되면 이때도 구글인증을 백그라운드로 적용
구글 업적 연동
국외(글로벌)
만약 해외에서 구글 피처드를 받으려면, 구글 로그인을 포함하여 멀티 로그인으로 구현하시면 됩니다. (카카오 로그인은 포함하지 않아도 됩니다.)
게스트 로그인을 한 경우에는 계정연동 기능을 제공하여, 구글, 페이스북, 카카오, 애플, 트위터 계정으로 연동할 수 있도록 추가 지원합니다.
Android에서도 애플 로그인을 제공합니다.
...
What Does It Mean to Login?
Login is the process of being authenticated by the Kakao platform server after the authentication of various IDPs (Kakao, Facebook, Google, or Apple).
Users can use the functions provided by the platform service and IDP service after login.
Login Policy by Country
IDP
Authentication methods may be newly added or discontinued depending on the circumstances of the service provider.
Supported IDP
Guest
Kakao
Facebook
Google
Apple
Twitter “X”
Domestic
For iOS, according to App Store policies, if a developer's proprietary authentication system is not provided and only social IDPs are supported, "Sign in with Apple" must be supported as a mandatory option.
If you want to receive Google features domestically, you must implement the following functions on Android. (For more details, contact the Kakao business manager.)
When using Kakao Login, Google authentication must be applied in the background.
Support guest login, and when switching to a Kakao account, Google authentication must also be applied in the background.
Integration with Google Achievements.
International(Global)
If you want to receive Google features internationally, you can implement multi-login that includes Google Login. (Kakao Login is not required.)
For users who logged in as guests, provide an account linking feature that allows them to link their account to Google, Facebook, Kakao, Apple, or Twitter.
Apple Login is also supported on Android.
Login Process
(1) IDP(identity provider) 로그인Login
/wiki/spaces/KS4GFP/pages/547192851kakaogames SDK는 IDP의 사용자 인증을 수행하고, kakaogames API 통해 IDP accessToken을 검증하는 절차를 거쳐 결과를 반환합니다.
“플레이어 아이디”와 “accessToken”을 포함한 인증 정보를 얻을 수 있습니다.
The kakaogames SDK performs user authentication via the IDP and returns the result after going through a procedure that verifies the IDP accessToken via the kakaogames API.
You can obtain authentication information that includes the "Player ID" and "accessToken."
(7) Game Server > Token Validation (User Validation)
https://kakaogames.atlassian.net/wiki/spaces/KS4GFP/pages/536969217/auth#/auth/validation“KG The validity is verified through the "KG APP ID," ", “접속 플랫폼”, “accessToken” 헤더를 통해 유효성을 검증합니다.
게임 서버가 있는 경우, 게임 서버에 연결된 게임 클라이언트의 유효성 검사를 위해 필수적으로 수행되어야 합니다.
Access Platform," and "accessToken" headers.
If there is a game server, this step must be performed to verify the validity of the game client connected to the game server.
In cases of abnormal status (protection, sanctions, withdrawal) or incorrect information requests, the process will be blocked at steps (3) and (7).