auth/service: fix jwt blank refresh bug (#1827)

This commit is contained in:
ben-toogood 2020-07-13 17:12:03 +01:00 committed by GitHub
parent a4252ba69c
commit 07fbb06ed8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,7 +211,7 @@ func (s *svc) Token(opts ...auth.TokenOption) (*auth.Token, error) {
return &auth.Token{
Expiry: token.Expiry,
AccessToken: token.Token,
RefreshToken: acc.Secret,
RefreshToken: tok,
}, nil
}