Auth invalid token fix (#1650)
This commit is contained in:
parent
6a661fd08c
commit
0615fe825f
@ -64,7 +64,7 @@ func Generate(id string, name string, a auth.Auth) error {
|
|||||||
|
|
||||||
// generate the first token
|
// generate the first token
|
||||||
tok, err := a.Token(
|
tok, err := a.Token(
|
||||||
auth.WithCredentials(accID, accSecret),
|
auth.WithToken(tok.RefreshToken),
|
||||||
auth.WithExpiry(time.Minute*10),
|
auth.WithExpiry(time.Minute*10),
|
||||||
)
|
)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user