Set RefreshToken

This commit is contained in:
Ben Toogood 2020-04-29 13:33:22 +01:00
parent e57b20c1f8
commit 70736e24c0

View File

@ -182,8 +182,9 @@ func (j *jwt) Token(opts ...auth.TokenOption) (*auth.Token, error) {
} }
return &auth.Token{ return &auth.Token{
Created: tok.Created, Created: tok.Created,
Expiry: tok.Expiry, Expiry: tok.Expiry,
AccessToken: tok.Token, AccessToken: tok.Token,
RefreshToken: tok.Token,
}, nil }, nil
} }