From f2218de61109dab0f8cdf53232f98af84cc1f91f Mon Sep 17 00:00:00 2001 From: Stephan Richter Date: Sun, 20 Oct 2024 17:15:59 +0200 Subject: [PATCH] fixing bug in WellKnownController Signed-off-by: Stephan Richter --- .../main/java/de/srsoftware/oidc/backend/ClientController.java | 1 - .../java/de/srsoftware/oidc/backend/WellKnownController.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/de.srsoftware.oidc.backend/src/main/java/de/srsoftware/oidc/backend/ClientController.java b/de.srsoftware.oidc.backend/src/main/java/de/srsoftware/oidc/backend/ClientController.java index 77278ab..ae0ef54 100644 --- a/de.srsoftware.oidc.backend/src/main/java/de/srsoftware/oidc/backend/ClientController.java +++ b/de.srsoftware.oidc.backend/src/main/java/de/srsoftware/oidc/backend/ClientController.java @@ -38,7 +38,6 @@ public class ClientController extends Controller { if (optUser.isEmpty()) return invalidSessionUser(ex); var user = optUser.get(); var json = json(ex); - LOG.log(System.Logger.Level.WARNING,"json: {0}",json); var state = json.has(STATE) ? json.getString(STATE) : null; if (!json.has(CLIENT_ID)) return badRequest(ex, Error.message(ERROR_MISSING_PARAMETER, PARAM, CLIENT_ID, STATE, state)); var clientId = json.getString(CLIENT_ID); diff --git a/de.srsoftware.oidc.backend/src/main/java/de/srsoftware/oidc/backend/WellKnownController.java b/de.srsoftware.oidc.backend/src/main/java/de/srsoftware/oidc/backend/WellKnownController.java index 2a0b860..079dfae 100644 --- a/de.srsoftware.oidc.backend/src/main/java/de/srsoftware/oidc/backend/WellKnownController.java +++ b/de.srsoftware.oidc.backend/src/main/java/de/srsoftware/oidc/backend/WellKnownController.java @@ -24,7 +24,7 @@ public class WellKnownController extends PathHandler { "authorization_endpoint", host + "/web/authorization.html", // "userinfo_endpoint", host + "/api/user/info", // "jwks_uri", host + "/api/jwks.json", // - "issuer", "https://lightoidc.srsoftware.de", // + "issuer", host, // "id_token_signing_alg_values_supported", List.of("RS256"), // "subject_types_supported", List.of("public", "pairwise"))); }