thomabig
11/19/2024, 10:47 PMthomabig
11/20/2024, 1:04 PMthomabig
11/20/2024, 1:05 PMrahul1
11/20/2024, 7:27 PMrahul1
11/20/2024, 7:27 PMrahul1
11/20/2024, 7:30 PMrefreshIfExpired function allows you to fetch a new accessToken before the current one expires by specifying a grace periodrahul1
11/20/2024, 7:30 PMrahul1
11/20/2024, 7:30 PMthomabig
11/20/2024, 9:29 PM// Use a timing-safe-equal here so that we don't expose timing information which could be
// used to infer the secret value
if (!timingSafeEqualStr(login.refreshSecret, claims.refresh_secret)) {
sendTokenError(res, 'invalid_request', 'Invalid token');
return;
}
But I'm not sure what timingSafeEqualStr means. And not sure this is the piece of code that makes the refresh token not available anymore.rahul1
12/03/2024, 2:15 AMrahul1
12/03/2024, 2:15 AMrahul1
12/03/2024, 2:16 AMrahul1
12/03/2024, 2:18 AMrahul1
12/03/2024, 2:29 AMrahul1
12/03/2024, 2:30 AMthomabig
12/27/2024, 9:12 PM