fixe oauth2 tiers

vnext
Paul Schneider 8 years ago
parent edcac5f332
commit adfaa1a587
1 changed files with 1 additions and 5 deletions

@ -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

Loading…