Fix typo in source (#20723)

Algorightm -> Algorithm

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
tokarchuk/v1.18
luzpaz 2 years ago committed by GitHub
parent 2660b0397a
commit 820031e556
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      services/auth/source/oauth2/jwtsigningkey.go

@ -31,11 +31,11 @@ import (
// ErrInvalidAlgorithmType represents an invalid algorithm error.
type ErrInvalidAlgorithmType struct {
Algorightm string
Algorithm string
}
func (err ErrInvalidAlgorithmType) Error() string {
return fmt.Sprintf("JWT signing algorithm is not supported: %s", err.Algorightm)
return fmt.Sprintf("JWT signing algorithm is not supported: %s", err.Algorithm)
}
// JWTSigningKey represents a algorithm/key pair to sign JWTs

Loading…
Cancel
Save