mirror of
https://github.com/go-micro/go-micro.git
synced 2025-07-12 22:41:07 +02:00
Auth invalid token fix (#1650)
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user