Skip to content

Commit

Permalink
remove not necessary change
Browse files Browse the repository at this point in the history
Signed-off-by: Florian Schrag <[email protected]>
  • Loading branch information
gitu committed Aug 14, 2023
1 parent b4215fd commit 3cad3a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundle/verify.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func verifyJWTSignature(token string, bvc *VerificationConfig) (*DecodedSignatur
}

if ds.Scope != scope {
return nil, fmt.Errorf("scope mismatch for key %s got %s but expected %s", keyID, ds.Scope, scope)
return nil, fmt.Errorf("scope mismatch")
}
return &ds, nil
}
Expand Down

0 comments on commit 3cad3a4

Please sign in to comment.