From 0ed66d066461518e77f1b46280f55e6e11bda261 Mon Sep 17 00:00:00 2001 From: Ben Toogood Date: Wed, 29 Apr 2020 09:38:39 +0100 Subject: [PATCH] Fix Typo --- auth/jwt/jwt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/jwt/jwt.go b/auth/jwt/jwt.go index 3854391d..59cd3cdb 100644 --- a/auth/jwt/jwt.go +++ b/auth/jwt/jwt.go @@ -30,7 +30,7 @@ func (j *jwt) Init(opts ...auth.Option) { } j.jwt = jwtToken.NewTokenProvider( - token.WithPrivateKey(j.options.PublicKey), + token.WithPrivateKey(j.options.PrivateKey), token.WithPublicKey(j.options.PublicKey), ) }