Browse Source

Simplify persisted grant.

pull/523/head
Sebastian 6 years ago
parent
commit
9a915c46c5
  1. 4
      backend/src/Squidex.Domain.Users.MongoDb/Infrastructure/MongoPersistedGrantStore.cs

4
backend/src/Squidex.Domain.Users.MongoDb/Infrastructure/MongoPersistedGrantStore.cs

@ -10,9 +10,7 @@ using System.Threading;
using System.Threading.Tasks;
using IdentityServer4.Models;
using IdentityServer4.Stores;
using MongoDB.Bson;
using MongoDB.Bson.Serialization;
using MongoDB.Bson.Serialization.Serializers;
using MongoDB.Driver;
using Squidex.Infrastructure.MongoDb;
@ -26,7 +24,7 @@ namespace Squidex.Domain.Users.MongoDb.Infrastructure
{
cm.AutoMap();
cm.MapIdProperty(x => x.Key).SetSerializer(new StringSerializer(BsonType.ObjectId));
cm.MapIdProperty(x => x.Key);
});
}

Loading…
Cancel
Save