chicommons / maps

MIT License
5 stars 17 forks source link

Backend: Extend JWT token life in dev environment #244

Open maxgraziano opened 1 month ago

maxgraziano commented 1 month ago

By default, JWT tokens expire after 5 minutes. As the API UI (/api/v1/docs) doesn't support reset tokens, this requires a new login and update of the token. It can make development debugging time consuming.

For the development environment, extend the JWT token expiry. This setting would live in the Development environment's Django settings file.