Skip to content

Commit c6deb09

Browse files
committed
fixed OAuth Issues with Identity, added multiple database support, minor issue fixes
1 parent 3dd57df commit c6deb09

File tree

98 files changed

+25524
-156
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+25524
-156
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
@{
2+
Layout = "/Pages/Shared/_Layout.cshtml";
3+
}

AspNetOAuth/AspNetOAuth.csproj

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<Project Sdk="Microsoft.NET.Sdk.Web">
2+
3+
<PropertyGroup>
4+
<TargetFramework>netcoreapp2.1</TargetFramework>
5+
<UserSecretsId>aspnet-AspNetOAuth-904345F3-FDD8-409D-A758-41152F5B664D</UserSecretsId>
6+
</PropertyGroup>
7+
8+
<ItemGroup>
9+
<PackageReference Include="Microsoft.AspNetCore.All" />
10+
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.1.0" PrivateAssets="All" />
11+
</ItemGroup>
12+
13+
<ItemGroup>
14+
<ProjectReference Include="..\FileContextCore\FileContextCore.csproj" />
15+
</ItemGroup>
16+
17+
</Project>
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Text;
4+
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
5+
using Microsoft.EntityFrameworkCore;
6+
7+
namespace AspNetOAuth.Data
8+
{
9+
public class ApplicationDbContext : IdentityDbContext
10+
{
11+
public ApplicationDbContext(DbContextOptions<ApplicationDbContext> options)
12+
: base(options)
13+
{
14+
}
15+
}
16+
}

AspNetOAuth/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs

Lines changed: 236 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)