Skip to content

Commit

Permalink
fix: use issuerKey.SigningKey instead of issuer.SigningKey (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
IanKrieger authored Jul 12, 2023
1 parent 0191c53 commit 1e48efc
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions kafka/signed_token_redeem_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,7 @@ func SignedTokenRedeemHandler(
continue
}

signingKey := issuer.SigningKey
if signingKey == nil {
continue
}

// Only attempt token verification with the issuer that was provided.
signingKey := issuerKey.SigningKey
issuerPublicKey := signingKey.PublicKey()
marshaledPublicKey, mErr := issuerPublicKey.MarshalText()
// Unmarshalling failure is a data issue and is probably permanent.
Expand Down

0 comments on commit 1e48efc

Please sign in to comment.