Skip to content
Still using open source IdentityServer4? Upgrading may be easier than you think. Get a FREE assessment

Options

The page describes the IdentityServerConfigurationOptions class, which provides top-level configuration options for IdentityServer, including the DynamicClientRegistrationOptions class for managing dynamic client registration and secret lifetimes.

Top level options for IdentityServer.Configuration.

public class IdentityServerConfigurationOptions
namedescription
DynamicClientRegistration { get; set; }Options for Dynamic Client Registration

Options for dynamic client registration.

public class DynamicClientRegistrationOptions
namedescription
SecretLifetime { get; set; }Gets or sets the lifetime of secrets generated for clients. If unset, generated secrets will have no expiration. Defaults to null (secrets never expire).