Skip to content

Commit

Permalink
code clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
damienbod committed Apr 4, 2024
1 parent 948727d commit 12ae621
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -350,3 +350,5 @@ MigrationBackup/
.ionide/
/MultiIdentityProvider/_logs*
/AadMultiApis/_logs**

/MicrosoftEntraIDMultiApis/_logs*
18 changes: 9 additions & 9 deletions MultiIdentityProvider/IdentityProvider/HostingExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ public static WebApplication ConfigureServices(this WebApplicationBuilder builde
// Register the Quartz.NET service and configure it to block shutdown until jobs are complete.
services.AddQuartzHostedService(options => options.WaitForJobsToComplete = true);

services.AddOpenIddict()

// Register the OpenIddict core components.
services.AddOpenIddict()

// Register the OpenIddict core components.
.AddCore(options =>
{
// Configure OpenIddict to use the Entity Framework Core stores and models.
Expand All @@ -112,9 +112,9 @@ public static WebApplication ConfigureServices(this WebApplicationBuilder builde
// Enable Quartz.NET integration.
options.UseQuartz();
})

// Register the OpenIddict server components.
})

// Register the OpenIddict server components.
.AddServer(options =>
{
// Enable the authorization, logout, token and userinfo endpoints.
Expand Down Expand Up @@ -149,9 +149,9 @@ public static WebApplication ConfigureServices(this WebApplicationBuilder builde
.EnableTokenEndpointPassthrough()
.EnableUserinfoEndpointPassthrough()
.EnableStatusCodePagesIntegration();
})

// Register the OpenIddict validation components.
})

// Register the OpenIddict validation components.
.AddValidation(options =>
{
// Import the configuration from the local OpenIddict server instance.
Expand Down

0 comments on commit 12ae621

Please sign in to comment.