You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The samples don't include any population of the Configuration data into the database.
There is an example that populates Test Users, but no example for Clients, IdentityProviders, IdentityResources, ApiResources, ApiScopes, or ClientCorsOrigins.
The text was updated successfully, but these errors were encountered:
// Inject IMongoClient since is configured in the startupvardb=mongoClient.GetDatabase("Security");varclients=db.GetCollection<AspNetCore.IdentityServer.Mongo.Entities.Client>("Clients");clients.InsertOne(newAspNetCore.IdentityServer.Mongo.Entities.Client{ClientId="your-client-id",ClientName="Your Client Name",AllowedGrantTypes={newAspNetCore.IdentityServer.Mongo.Entities.ClientGrantType{GrantType=GrantType.AuthorizationCode},newAspNetCore.IdentityServer.Mongo.Entities.ClientGrantType{GrantType=GrantType.ClientCredentials}},ClientSecrets={newAspNetCore.IdentityServer.Mongo.Entities.ClientSecret{Value="your secret",Created=DateTime.UtcNow}},RequireClientSecret=true,RequireConsent=false,RequirePkce=true,// removed for brevityEnabled=true,EnableLocalLogin=true});
I will look into updating or creating another sample just for the population of such data.
The samples don't include any population of the Configuration data into the database.
There is an example that populates Test Users, but no example for Clients, IdentityProviders, IdentityResources, ApiResources, ApiScopes, or ClientCorsOrigins.
The text was updated successfully, but these errors were encountered: