diff --git a/Yavsc/Controllers/OAuthController.cs b/Yavsc/Controllers/OAuthController.cs index 54bc2965..78275fde 100644 --- a/Yavsc/Controllers/OAuthController.cs +++ b/Yavsc/Controllers/OAuthController.cs @@ -187,5 +187,11 @@ namespace Yavsc.Controllers return View(model); } + [HttpGet("~/oauth/success")] + public IActionResult NativeAuthSuccess () + { + return RedirectToAction("Index","Home"); + } + } } \ No newline at end of file diff --git a/Yavsc/Startup/Startup.OAuthHelpers.cs b/Yavsc/Startup/Startup.OAuthHelpers.cs index 366e4e72..4ab5c680 100644 --- a/Yavsc/Startup/Startup.OAuthHelpers.cs +++ b/Yavsc/Startup/Startup.OAuthHelpers.cs @@ -72,7 +72,7 @@ namespace Yavsc } else Startup.logger.LogInformation($"ValidateClientAuthentication: KO ({clientId})"); } - else Startup.logger.LogInformation($"ValidateClientAuthentication: nor Basic neither Form credential found"); + else Startup.logger.LogWarning($"ValidateClientAuthentication: neither Basic nor Form credential were found"); return Task.FromResult(0); }