public async Task <IActionResult> ExternalLogin([FromBody] ExternalLoginInfoDto externalLoginInfoDto) { var userIp = Request.HttpContext.Connection.RemoteIpAddress; var externalData = await _externalLoginService.GetExternalLoginData(externalLoginInfoDto, userIp); return(await HandleExternalInfo(userIp, externalData, ExternalLoginProvider.OpenId)); }