Exemple #1
0
        public async Task <IActionResult> ExternalLoginCallback()
        {
            try
            {
                var token = await _googleService.ExternalLoginCallback();

                return(Ok(token));
            }
            catch (AppException ex)
            {
                return(BadRequest(new { message = ex.Message }));
            }
        }