auth/service: fix jwt blank refresh bug (#1827)
This commit is contained in:
parent
a4252ba69c
commit
07fbb06ed8
@ -211,7 +211,7 @@ func (s *svc) Token(opts ...auth.TokenOption) (*auth.Token, error) {
|
|||||||
return &auth.Token{
|
return &auth.Token{
|
||||||
Expiry: token.Expiry,
|
Expiry: token.Expiry,
|
||||||
AccessToken: token.Token,
|
AccessToken: token.Token,
|
||||||
RefreshToken: acc.Secret,
|
RefreshToken: tok,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user