Skip to content

Commit bdec8fc

Browse files
committed
No need to check the expiration in our setup
Signed-off-by: Federico Busetti <[email protected]>
1 parent 46583f0 commit bdec8fc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/http_app/routes/auth.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,4 @@ async def decode(
8080
except Exception as error:
8181
raise UnauthorizedException(str(error))
8282

83-
if payload["expires"] < time.time():
84-
raise UnauthorizedException("Expired token")
85-
8683
return payload

0 commit comments

Comments
 (0)