Skip to content

Commit ae6dfba

Browse files
committed
Fix typo in source
Algorightm -> Algorithm
1 parent 0f767e7 commit ae6dfba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/auth/source/oauth2/jwtsigningkey.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ import (
3131

3232
// ErrInvalidAlgorithmType represents an invalid algorithm error.
3333
type ErrInvalidAlgorithmType struct {
34-
Algorightm string
34+
Algorithm string
3535
}
3636

3737
func (err ErrInvalidAlgorithmType) Error() string {
38-
return fmt.Sprintf("JWT signing algorithm is not supported: %s", err.Algorightm)
38+
return fmt.Sprintf("JWT signing algorithm is not supported: %s", err.Algorithm)
3939
}
4040

4141
// JWTSigningKey represents a algorithm/key pair to sign JWTs

0 commit comments

Comments
 (0)