Auth invalid token fix (#1650)

This commit is contained in:
Janos Dobronszki 2020-05-20 16:18:05 +02:00 committed by GitHub
parent 6a661fd08c
commit 0615fe825f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ func Generate(id string, name string, a auth.Auth) error {
// generate the first token
tok, err := a.Token(
auth.WithCredentials(accID, accSecret),
auth.WithToken(tok.RefreshToken),
auth.WithExpiry(time.Minute*10),
)
if err != nil {