From 076b193b1714383e83d8aa80253cddfd1d695b92 Mon Sep 17 00:00:00 2001 From: Tim Date: Sat, 26 Apr 2025 20:45:22 +0200 Subject: Add oidc discovery endpoint --- VPNAuth.Server/Program.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'VPNAuth.Server/Program.cs') diff --git a/VPNAuth.Server/Program.cs b/VPNAuth.Server/Program.cs index e8e5d4f..067e61b 100644 --- a/VPNAuth.Server/Program.cs +++ b/VPNAuth.Server/Program.cs @@ -35,6 +35,7 @@ app.MapGet("/accept-auth/{id}", OAuth2.AcceptAuthHandler); app.MapPost("/access-token", OAuth2.AccessTokenHandler); app.MapPost("/user-info-settings", UserInterface.UserSettingsHandler); app.Map("/user-info", Oidc.UserInfoHandler); +app.MapGet("/.well-known/openid-configuration", Oidc.DiscoveryHandler); app.MapStaticAssets(); app.MapRazorPages() -- cgit v1.2.3