구글 인증 문제 질문드립니다.
예제에 있는 GooglePlusAuthentication.AuthenticationRequest request = new GooglePlusAuthentication.AuthenticationRequest (accessToken);
GooglePlusAuthentication.AuthenticationResponse response;
if (!GooglePlusAuthentication.AuthenticateSync (request, out response)) {
serverResponse = EServerResponse.LoginGoogleFailToAthenticate;
Log.Error ("Failed to verify the authentication.");
return null;
}
if (!response.Success) {
serverResponse = EServerResponse.LoginGoogleFailToAthenticate;
Log.Error ("Failed to verify the authentication. error.code: {0}, error.message = {1}",
response.Error.Code, response.Error.Message);
return null;
}
Log.Info ("Verifying the authentication succeeded. display_name={0}, client_id={1}, image_url={2}",
response.DisplayName, response.ClientId, response.ImageUrl);
과 같은 코드를 사용해서 구글 플러스 인증을 하려 하는데요. W0329 13:14:24.556078 130972 google_plus_authentication.cc:327] Authentication is bypassed. I0329 13:14:24.556546 130972 (Mono)Server.HandleLogin.cs:153] Verifying the authentication succeeded. display_name=, client_id=, image_url= 와 같은 메세지가 뜨면서 건너 뛰는것 같습니다. Manifest 쪽에서 설정을 해줘야 하는것 같은데 https://www.ifunfactory.com/engine/do... 를 참고해도 해당
21.9. 인증 검증 서비스 설정 파라미터 아래의 설명과 설정 파일 (MANIFEST.json) 상세 를 참고하여 AuthenticationService 관련 설정을 합니다.
use_authentication_service: 인증 검증 서비스를 활성화합니다. 간단히 테스트 또는 개발 단계에서는 false 로 지정하면 bypass 하고 모든 인증 요청을 성공으로 처리합니다. (type=bool, default=false) nexon_platform: Nexon Platform 인증 처리를 위한 JSON Object 입니다. 아래와 같은 JSON Attribute 를 입력합니다. secret_key: 발급받은 secret key 를 JSON String 으로 입력합니다. (type=string, default=””) authentication_google_play_verify_token: Google Play 인증할 때 클라이언트가 보낸 토큰을 검증한 후에 Google API를 호출하게 합니다. (type=bool, default=true) authentication_google_play_preload_jwks: Google Play 토큰을 검증할 때 사용할 공개키를 미리 가져오게 합니다. (type=bool, default=false)
들의 파라미터가 제 MANIFEST.json 에는 존재하지 않습니다. use_authenticator 프로퍼티만 존재하구요. ifun-athenticator 는 곧 사라질것 같아서 사용하고 싶지가 않은데 가이드 부탁드립니다.
좋은 하루 되세요!