This commit is contained in:
Ben Toogood 2020-04-29 09:38:39 +01:00
parent 7e27c97c6c
commit 0ed66d0664

View File

@ -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),
)
}