OAT Verify current time against expiresAt field for authentication
416c616e opened this issue · 1 comments
416c616e commented
Line 360 in 08c0e33
Would be handy to also check the expiresAt field against the current time to ensure the token hasn't expired.
Resolved it myself, I'm a big dumb dumb. On another note with it working correctly it would perhaps be nice to have the ability to assign a callback to optionally prune the token storage/db
thetutlage commented
Its already validated.
auth/src/TokenProviders/Database/index.ts
Lines 107 to 113 in 08c0e33