aboutsummaryrefslogtreecommitdiff
path: root/VPNAuth.Server/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'VPNAuth.Server/Program.cs')
-rw-r--r--VPNAuth.Server/Program.cs1
1 files changed, 1 insertions, 0 deletions
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()