diff --git a/build/dependencies.props b/build/dependencies.props index 75e0335e6c..e9b3e6f8bc 100644 --- a/build/dependencies.props +++ b/build/dependencies.props @@ -5,9 +5,9 @@ 0.9.9 2.2.0-preview2-20181004.6 - 2.3.0-preview1-update2 - 2.3.0-preview1-update2 - 2.3.0-preview1-update1 + 2.3.0 + 2.3.0 + 2.3.0 2.2.0-preview3-35425 2.2.0-preview3-35425 2.2.0-preview3-35425 diff --git a/samples/ApiAuthSample/app.db b/samples/ApiAuthSample/app.db new file mode 100644 index 0000000000..c236b3bfa7 Binary files /dev/null and b/samples/ApiAuthSample/app.db differ diff --git a/src/ApiAuth.IS/Configuration/AspNetConventionsConfigureOptions.cs b/src/ApiAuth.IS/Configuration/AspNetConventionsConfigureOptions.cs index 056feca344..481f96fdc3 100644 --- a/src/ApiAuth.IS/Configuration/AspNetConventionsConfigureOptions.cs +++ b/src/ApiAuth.IS/Configuration/AspNetConventionsConfigureOptions.cs @@ -16,9 +16,6 @@ namespace Microsoft.AspNetCore.ApiAuthorization.IdentityServer options.Events.RaiseFailureEvents = true; options.Events.RaiseSuccessEvents = true; options.Authentication.CookieAuthenticationScheme = IdentityConstants.ApplicationScheme; - options.UserInteraction.LoginUrl = "/Identity/Account/Login"; - options.UserInteraction.LogoutUrl = "/Identity/Account/Logout"; - options.UserInteraction.ErrorUrl = "/Identity/Error"; } } } \ No newline at end of file diff --git a/src/ApiAuth.IS/Data/ApiAuthorizationDbContext.cs b/src/ApiAuth.IS/Data/ApiAuthorizationDbContext.cs index 9d5e3fd4b9..23b702727c 100644 --- a/src/ApiAuth.IS/Data/ApiAuthorizationDbContext.cs +++ b/src/ApiAuth.IS/Data/ApiAuthorizationDbContext.cs @@ -35,10 +35,15 @@ namespace Microsoft.AspNetCore.ApiAuthorization.IdentityServer } /// - /// Gets or sets the . + /// Gets or sets the . /// public DbSet PersistedGrants { get; set; } + /// + /// Gets or sets the . + /// + public DbSet DeviceFlowCodes { get; set; } + Task IPersistedGrantDbContext.SaveChangesAsync() => base.SaveChangesAsync(); /// diff --git a/test/ApiAuth.IS.Test/Configuration/AspNetConventionsConfigureOptionsTests.cs b/test/ApiAuth.IS.Test/Configuration/AspNetConventionsConfigureOptionsTests.cs index 4d4e9d9f83..8a1eecb5cd 100644 --- a/test/ApiAuth.IS.Test/Configuration/AspNetConventionsConfigureOptionsTests.cs +++ b/test/ApiAuth.IS.Test/Configuration/AspNetConventionsConfigureOptionsTests.cs @@ -20,9 +20,6 @@ namespace Microsoft.AspNetCore.ApiAuthorization.IdentityServer configure.Configure(options); // Assert - Assert.Equal("/Identity/Account/Login", options.UserInteraction.LoginUrl); - Assert.Equal("/Identity/Account/Logout", options.UserInteraction.LogoutUrl); - Assert.Equal("/Identity/Error", options.UserInteraction.ErrorUrl); Assert.Equal(IdentityConstants.ApplicationScheme, options.Authentication.CookieAuthenticationScheme); }