From 9bea36b96a97b6f86b30dc670715c0a66a3f8407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Chalet?= Date: Tue, 19 Jul 2016 01:41:48 +0200 Subject: [PATCH] Fix the incorrect redirection in OpenIddictProvider.HandleAuthorizationRequest --- .../Infrastructure/OpenIddictProvider.Authentication.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenIddict.Core/Infrastructure/OpenIddictProvider.Authentication.cs b/src/OpenIddict.Core/Infrastructure/OpenIddictProvider.Authentication.cs index 3e11ba63..a894aefc 100644 --- a/src/OpenIddict.Core/Infrastructure/OpenIddictProvider.Authentication.cs +++ b/src/OpenIddict.Core/Infrastructure/OpenIddictProvider.Authentication.cs @@ -359,7 +359,7 @@ namespace OpenIddict.Infrastructure { // Create a new authorization request containing only the request_id parameter. var address = QueryHelpers.AddQueryString( - uri: context.Options.AuthorizationEndpointPath, + uri: context.HttpContext.Request.PathBase + context.HttpContext.Request.Path, name: OpenIdConnectConstants.Parameters.RequestId, value: identifier); context.HttpContext.Response.Redirect(address);