diff --git a/server/oauth2.go b/server/oauth2.go index 18146d61..145403c4 100644 --- a/server/oauth2.go +++ b/server/oauth2.go @@ -194,7 +194,7 @@ func signPayload(key *jose.JSONWebKey, alg jose.SignatureAlgorithm, payload []by signer, err := jose.NewSigner(signingKey, &jose.SignerOptions{}) if err != nil { - return "", fmt.Errorf("new signier: %v", err) + return "", fmt.Errorf("new signer: %v", err) } signature, err := signer.Sign(payload) if err != nil {