From 4d7f3c5bb1dc0da7956be63cd3a5372bd2e7a1c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20M=C3=A4nnchen?= Date: Tue, 10 Sep 2024 18:59:06 +0000 Subject: [PATCH 1/2] trigger CI From 1158795dbafcf1d6d888b106e628347d84a6a1cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonatan=20M=C3=A4nnchen?= Date: Tue, 10 Sep 2024 19:00:41 +0000 Subject: [PATCH 2/2] add logging --- lib/oidcc/plug/introspect_token.ex | 1 + lib/oidcc/plug/validate_jwt_token.ex | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/oidcc/plug/introspect_token.ex b/lib/oidcc/plug/introspect_token.ex index 9859ad8..65aa479 100644 --- a/lib/oidcc/plug/introspect_token.ex +++ b/lib/oidcc/plug/introspect_token.ex @@ -130,6 +130,7 @@ defmodule Oidcc.Plug.IntrospectToken do |> send_inactive_token_response.(introspection) {:error, reason} -> + dbg reason raise Error, reason: reason end end diff --git a/lib/oidcc/plug/validate_jwt_token.ex b/lib/oidcc/plug/validate_jwt_token.ex index 2f8bf5f..0235f95 100644 --- a/lib/oidcc/plug/validate_jwt_token.ex +++ b/lib/oidcc/plug/validate_jwt_token.ex @@ -94,6 +94,7 @@ defmodule Oidcc.Plug.ValidateJwtToken do |> send_inactive_token_response.() {:error, reason} -> + dbg reason raise Error, reason: reason end end