adds aspnet.identity

This commit is contained in:
Paul Schneider 2021-04-25 12:12:50 +01:00
commit dc37c9a9f0
26 changed files with 1106 additions and 122 deletions

View file

@ -9,13 +9,14 @@ using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
using nuget_host.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Claims;
using System.Threading.Tasks;
namespace nuget_host.Models
namespace nuget_host.Controllers
{
[SecurityHeaders]
[AllowAnonymous]
@ -65,7 +66,7 @@ namespace nuget_host.Models
RedirectUri = Url.Action(nameof(Callback)),
Items =
{
{ "returnUrl", returnUrl },
{ "returnUrl", returnUrl },
{ "scheme", scheme },
}
};