From 02f4fe1a2a499e5930d3afa6dc7464853c76f4a5 Mon Sep 17 00:00:00 2001 From: Henning Perl Date: Tue, 11 Apr 2023 10:39:19 +0200 Subject: [PATCH] fix: double-hashed access token signatures Fixes #3485 --- persistence/sql/persister_oauth2.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/persistence/sql/persister_oauth2.go b/persistence/sql/persister_oauth2.go index 8062cee4fbf..59d82957754 100644 --- a/persistence/sql/persister_oauth2.go +++ b/persistence/sql/persister_oauth2.go @@ -248,8 +248,6 @@ func (p *Persister) findSessionBySignature(ctx context.Context, rawSignature str ctx, span := p.r.Tracer(ctx).Tracer().Start(ctx, "persistence.sql.findSessionBySignature") defer span.End() - rawSignature = p.hashSignature(ctx, rawSignature, table) - r := OAuth2RequestSQL{Table: table} var fr fosite.Requester