Fixes issue #50

This commit is contained in:
2025-05-26 02:48:20 +01:00
parent 99881f5837
commit efa0cd708b
3 changed files with 766 additions and 4 deletions
+2 -2
View File
@@ -363,8 +363,8 @@ func (t *TraefikOidc) VerifyJWTSignatureAndClaims(jwt *JWT, token string) error
return fmt.Errorf("signature verification failed: %w", err)
}
// Verify standard claims
if err := jwt.Verify(t.issuerURL, t.clientID); err != nil {
// Verify standard claims - skip replay check since it's already handled in VerifyToken
if err := jwt.Verify(t.issuerURL, t.clientID, true); err != nil {
return fmt.Errorf("standard claim verification failed: %w", err)
}