diff options
| author | James Elliott <james-d-elliott@users.noreply.github.com> | 2022-04-12 21:39:15 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-12 21:39:15 +1000 |
| commit | f97474f01b6a7efcebfe0f2c75222bbe718a3259 (patch) | |
| tree | f1d9053886f352145decbb6edf66e891199801e5 /internal/handlers/handler_oauth_introspection.go | |
| parent | 85a88de24d74654589163c9293cd57806dc702b8 (diff) | |
fix(oidc): show detailed error reasons (#3175)
Diffstat (limited to 'internal/handlers/handler_oauth_introspection.go')
| -rw-r--r-- | internal/handlers/handler_oauth_introspection.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/handlers/handler_oauth_introspection.go b/internal/handlers/handler_oauth_introspection.go index 331ce201d..990e8c5c2 100644 --- a/internal/handlers/handler_oauth_introspection.go +++ b/internal/handlers/handler_oauth_introspection.go @@ -23,7 +23,7 @@ func OAuthIntrospectionPOST(ctx *middlewares.AutheliaCtx, rw http.ResponseWriter if responder, err = ctx.Providers.OpenIDConnect.Fosite.NewIntrospectionRequest(ctx, req, oidcSession); err != nil { rfc := fosite.ErrorToRFC6749Error(err) - ctx.Logger.Errorf("Introspection Request failed with error: %+v", rfc) + ctx.Logger.Errorf("Introspection Request failed with error: %s", rfc.GetDescription()) ctx.Providers.OpenIDConnect.Fosite.WriteIntrospectionError(rw, err) |
