fixe oauth2 tiers
This commit is contained in:
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))
|
if (!User.Identities.Any(identity => identity.IsAuthenticated))
|
||||||
{
|
{
|
||||||
_logger.LogWarning("new ChallengeResult");
|
|
||||||
return new ChallengeResult(new AuthenticationProperties
|
return new ChallengeResult(new AuthenticationProperties
|
||||||
{
|
{
|
||||||
RedirectUri = Url.Action(nameof(Authorize), new
|
RedirectUri = request.BuildRedirectUrl()
|
||||||
{
|
|
||||||
request_id = request.GetUniqueIdentifier()
|
|
||||||
})
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
// Note: ASOS automatically ensures that an application corresponds to the client_id specified
|
// Note: ASOS automatically ensures that an application corresponds to the client_id specified
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue