diff options
| author | James Elliott <james-d-elliott@users.noreply.github.com> | 2023-08-06 11:52:37 +1000 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-06 11:52:37 +1000 | 
| commit | e250ad31ebb4cf029ab5e02c67e79ca0d0d4dc94 (patch) | |
| tree | c392cf7bc95d0051e635d85b085177f6b99d948f /internal/handlers/handler_oauth_introspection.go | |
| parent | 412e0af7e980b8fbf093fb9fdbb8f52435ce957a (diff) | |
fix(oidc): refresh flow scope parameter ignored (#5782)
This fixes an issue where the scope parameter is ignored in the refresh token flow.
Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Diffstat (limited to 'internal/handlers/handler_oauth_introspection.go')
| -rw-r--r-- | internal/handlers/handler_oauth_introspection.go | 4 | 
1 files changed, 1 insertions, 3 deletions
diff --git a/internal/handlers/handler_oauth_introspection.go b/internal/handlers/handler_oauth_introspection.go index 3fa1882e5..6ef375986 100644 --- a/internal/handlers/handler_oauth_introspection.go +++ b/internal/handlers/handler_oauth_introspection.go @@ -31,9 +31,7 @@ func OAuthIntrospectionPOST(ctx *middlewares.AutheliaCtx, rw http.ResponseWriter  	ctx.Logger.Debugf("Introspection Request with id '%s' is being processed", requestID)  	if responder, err = ctx.Providers.OpenIDConnect.NewIntrospectionRequest(ctx, req, oidcSession); err != nil { -		rfc := fosite.ErrorToRFC6749Error(err) - -		ctx.Logger.Errorf("Introspection Request with id '%s' failed with error: %s", requestID, rfc.WithExposeDebug(true).GetDescription()) +		ctx.Logger.Errorf("Introspection Request with id '%s' failed with error: %s", requestID, oidc.ErrorToDebugRFC6749Error(err))  		ctx.Providers.OpenIDConnect.WriteIntrospectionError(ctx, rw, err)  | 
