Browse Source

Fix the incorrect redirection in OpenIddictProvider.HandleAuthorizationRequest

pull/168/head
Kévin Chalet 10 years ago
parent
commit
9bea36b96a
  1. 2
      src/OpenIddict.Core/Infrastructure/OpenIddictProvider.Authentication.cs

2
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);

Loading…
Cancel
Save