diff --git a/Directory.Packages.props b/Directory.Packages.props
index c860d010c0..9b7cbcf097 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -126,11 +126,11 @@
-
-
-
-
-
+
+
+
+
+
diff --git a/modules/openiddict/app/OpenIddict.Demo.Server/EntityFrameworkCore/ServerDataSeedContributor.cs b/modules/openiddict/app/OpenIddict.Demo.Server/EntityFrameworkCore/ServerDataSeedContributor.cs
index 148685c1bd..c67b2977ef 100644
--- a/modules/openiddict/app/OpenIddict.Demo.Server/EntityFrameworkCore/ServerDataSeedContributor.cs
+++ b/modules/openiddict/app/OpenIddict.Demo.Server/EntityFrameworkCore/ServerDataSeedContributor.cs
@@ -71,6 +71,7 @@ public class ServerDataSeedContributor : IDataSeedContributor, ITransientDepende
OpenIddictConstants.Permissions.Endpoints.Introspection,
OpenIddictConstants.Permissions.Endpoints.Revocation,
OpenIddictConstants.Permissions.Endpoints.EndSession,
+ OpenIddictConstants.Permissions.Endpoints.PushedAuthorization,
OpenIddictConstants.Permissions.GrantTypes.AuthorizationCode,
OpenIddictConstants.Permissions.GrantTypes.Implicit,
diff --git a/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20241005085943_Initial.Designer.cs b/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20250215074649_Initial.Designer.cs
similarity index 99%
rename from modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20241005085943_Initial.Designer.cs
rename to modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20250215074649_Initial.Designer.cs
index 7fffd314e8..fec1a9f143 100644
--- a/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20241005085943_Initial.Designer.cs
+++ b/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20250215074649_Initial.Designer.cs
@@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace OpenIddict.Demo.Server.Migrations
{
[DbContext(typeof(ServerDbContext))]
- [Migration("20241005085943_Initial")]
+ [Migration("20250215074649_Initial")]
partial class Initial
{
///
@@ -22,7 +22,7 @@ namespace OpenIddict.Demo.Server.Migrations
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
- .HasAnnotation("ProductVersion", "9.0.0-rc.1.24451.1")
+ .HasAnnotation("ProductVersion", "9.0.0")
.HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@@ -162,6 +162,10 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
b.Property("Description")
.HasMaxLength(256)
.HasColumnType("nvarchar(256)");
@@ -238,6 +242,10 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
b.Property("EntityVersion")
.HasColumnType("int");
@@ -394,13 +402,6 @@ namespace OpenIddict.Demo.Server.Migrations
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .IsRequired()
- .HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
b.Property("Device")
.IsRequired()
.HasMaxLength(64)
@@ -411,7 +412,6 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("nvarchar(64)");
b.Property("ExtraProperties")
- .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
diff --git a/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20241005085943_Initial.cs b/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20250215074649_Initial.cs
similarity index 99%
rename from modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20241005085943_Initial.cs
rename to modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20250215074649_Initial.cs
index 62b23276c4..fdf8dac987 100644
--- a/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20241005085943_Initial.cs
+++ b/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20250215074649_Initial.cs
@@ -23,6 +23,7 @@ namespace OpenIddict.Demo.Server.Migrations
RegexDescription = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true),
Description = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true),
ValueType = table.Column(type: "int", nullable: false),
+ CreationTime = table.Column(type: "datetime2", nullable: false),
ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false),
ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false)
},
@@ -188,6 +189,7 @@ namespace OpenIddict.Demo.Server.Migrations
IsStatic = table.Column(type: "bit", nullable: false),
IsPublic = table.Column(type: "bit", nullable: false),
EntityVersion = table.Column(type: "int", nullable: false),
+ CreationTime = table.Column(type: "datetime2", nullable: false),
ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false),
ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false)
},
@@ -235,8 +237,7 @@ namespace OpenIddict.Demo.Server.Migrations
IpAddresses = table.Column(type: "nvarchar(2048)", maxLength: 2048, nullable: true),
SignedIn = table.Column(type: "datetime2", nullable: false),
LastAccessed = table.Column(type: "datetime2", nullable: true),
- ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false),
- ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false)
+ ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true)
},
constraints: table =>
{
diff --git a/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/ServerDbContextModelSnapshot.cs b/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/ServerDbContextModelSnapshot.cs
index fbaf0bc710..4099fccc43 100644
--- a/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/ServerDbContextModelSnapshot.cs
+++ b/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/ServerDbContextModelSnapshot.cs
@@ -19,7 +19,7 @@ namespace OpenIddict.Demo.Server.Migrations
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
- .HasAnnotation("ProductVersion", "9.0.0-rc.1.24451.1")
+ .HasAnnotation("ProductVersion", "9.0.0")
.HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@@ -159,6 +159,10 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
b.Property("Description")
.HasMaxLength(256)
.HasColumnType("nvarchar(256)");
@@ -235,6 +239,10 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
+ b.Property("CreationTime")
+ .HasColumnType("datetime2")
+ .HasColumnName("CreationTime");
+
b.Property("EntityVersion")
.HasColumnType("int");
@@ -391,13 +399,6 @@ namespace OpenIddict.Demo.Server.Migrations
.HasMaxLength(64)
.HasColumnType("nvarchar(64)");
- b.Property("ConcurrencyStamp")
- .IsConcurrencyToken()
- .IsRequired()
- .HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
- .HasColumnName("ConcurrencyStamp");
-
b.Property("Device")
.IsRequired()
.HasMaxLength(64)
@@ -408,7 +409,6 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("nvarchar(64)");
b.Property("ExtraProperties")
- .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
diff --git a/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/AbpOpenIddictAspNetCoreModule.cs b/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/AbpOpenIddictAspNetCoreModule.cs
index 6ebb66cb6a..dddc89d515 100644
--- a/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/AbpOpenIddictAspNetCoreModule.cs
+++ b/modules/openiddict/src/Volo.Abp.OpenIddict.AspNetCore/Volo/Abp/OpenIddict/AbpOpenIddictAspNetCoreModule.cs
@@ -65,6 +65,7 @@ public class AbpOpenIddictAspNetCoreModule : AbpModule
.SetDeviceAuthorizationEndpointUris("device")
.SetIntrospectionEndpointUris("connect/introspect")
.SetEndSessionEndpointUris("connect/endsession")
+ .SetPushedAuthorizationEndpointUris("connect/par")
.SetRevocationEndpointUris("connect/revocat")
.SetTokenEndpointUris("connect/token")
.SetUserInfoEndpointUris("connect/userinfo")