-
Notifications
You must be signed in to change notification settings - Fork 1k
Open
Description
Since #746 was fixed, ExpiresIn
is now nonzero if the server responds with JSON. But there's another codepath for URL encoded responses:
Lines 297 to 301 in cf14319
e := vals.Get("expires_in") | |
expires, _ := strconv.Atoi(e) | |
if expires != 0 { | |
token.Expiry = time.Now().Add(time.Duration(expires) * time.Second) | |
} |
This one doesn't populate the field.
Metadata
Metadata
Assignees
Labels
No labels