From adfaa1a587401f5aa4782e2ef36c2bdaf0b9d77b Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sat, 4 Jun 2016 21:00:33 +0200 Subject: [PATCH] fixe oauth2 tiers --- Yavsc/src/Controllers/OAuthController.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Yavsc/src/Controllers/OAuthController.cs b/Yavsc/src/Controllers/OAuthController.cs index 27e39911..8dda605a 100644 --- a/Yavsc/src/Controllers/OAuthController.cs +++ b/Yavsc/src/Controllers/OAuthController.cs @@ -196,13 +196,9 @@ namespace Yavsc.Controllers if (!User.Identities.Any(identity => identity.IsAuthenticated)) { - _logger.LogWarning("new ChallengeResult"); return new ChallengeResult(new AuthenticationProperties { - RedirectUri = Url.Action(nameof(Authorize), new - { - request_id = request.GetUniqueIdentifier() - }) + RedirectUri = request.BuildRedirectUrl() }); } // Note: ASOS automatically ensures that an application corresponds to the client_id specified