summaryrefslogtreecommitdiff
path: root/internal/storage
diff options
context:
space:
mode:
authorJames Elliott <james-d-elliott@users.noreply.github.com>2023-08-31 21:33:26 +1000
committerGitHub <noreply@github.com>2023-08-31 21:33:26 +1000
commit0e8361abd7dd93b58465d4427c7705e25c4ac15b (patch)
tree79a5fd9685196ac105f31e7cdfaa34afe870adc4 /internal/storage
parent9479ceb310925ad036ad568360d61869f3fafbf8 (diff)
test: refactor and add tests (#5934)
Signed-off-by: James Elliott <james-d-elliott@users.noreply.github.com>
Diffstat (limited to 'internal/storage')
-rw-r--r--internal/storage/sql_provider.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/storage/sql_provider.go b/internal/storage/sql_provider.go
index 7d8f1c14b..86fb1dacf 100644
--- a/internal/storage/sql_provider.go
+++ b/internal/storage/sql_provider.go
@@ -532,7 +532,7 @@ func (p *SQLProvider) SaveOAuth2Session(ctx context.Context, sessionType OAuth2S
session.Active, session.Revoked, session.Form, session.Session)
if err != nil {
- return fmt.Errorf("error inserting oauth2 %s session data for subject '%s' and request id '%s' and challenge id '%s': %w", sessionType, session.Subject.String, session.RequestID, session.ChallengeID.UUID, err)
+ return fmt.Errorf("error inserting oauth2 %s session data with signature '%s' for subject '%s' and request id '%s' and challenge id '%s': %w", sessionType, session.Signature, session.Subject.String, session.RequestID, session.ChallengeID.UUID, err)
}
return nil