Should fail

This commit is contained in:
Karsten Jeppesen
2026-08-28 08:35:19 +02:00
parent 7d75f20ee3
commit a8ae6f7b18
14 changed files with 450 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
using OpenID_API.OpenIDConnect;
var builder = WebApplication.CreateBuilder(args);
// Configure for OpenID
OpenIDConnectUtils oidcConfig = new();
oidcConfig.ConfigureBuilder(builder);
// Add services to the container.
builder.Services.AddControllers();
var app = builder.Build();
// Configure for OpenID
oidcConfig.ConfigureApp(app);
app.UseHttpsRedirection();
app.UseAuthentication();
app.UseAuthorization();
app.MapControllers();
app.Run();