~sircmpwn/meta.sr.ht#182: 
expires_in has wrong type and an incorrect value

When a token is issued, the response from the token endpoint is not correct:

  • expires_in is a string but it should be an int per 1
  • The value itself to be wrong: I am receiving 86399, which is almost one day of seconds, and not one year's worth of seconds (which is what the dashboard says it is valid for).
Status
REPORTED
Submitter
~omz13
Assigned to
No-one
Submitted
3 years ago
Updated
2 years ago
Labels
beta

~sircmpwn 3 years ago

Drew DeVault referenced this ticket in commit 5509e09.

~sircmpwn 3 years ago

I have corrected the type to int, but it's not immediately obvious why the time is wrong, so I'll save that for later.

~sircmpwn 3 years ago

Drew DeVault referenced this ticket in commit 5509e09.

~sircmpwn 3 years ago

Drew DeVault referenced this ticket in commit 5509e09.

~sircmpwn 2 years ago

Drew DeVault referenced this ticket in commit 5509e09.

Register here or Log in to comment, or comment via email.