From 7632de1673929c961c4aaf113df79b7776f01e88 Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Tue, 14 Jun 2016 12:59:01 +0200 Subject: [PATCH] a web page --- Yavsc/Controllers/OAuthController.cs | 6 ++++++ Yavsc/Startup/Startup.OAuthHelpers.cs | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) 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); }