LonelyVikingMichael / litestar-users

Authentication and user management for the Litestar framework
https://lonelyvikingmichael.github.io/litestar-users/
MIT License
42 stars 12 forks source link

JWT token TTL in LitestarUsersConfig #69

Closed dshum closed 1 month ago

dshum commented 4 months ago

It would be great to have an explicit option for JWT token TTL in LitestarUsersConfig. As discussed, it can be the same value as for cookie expiry (for JWTCookieAuth), but since we don't have to setup a session backend config with JWTAuth, it may be better to have a separated option.