davidcr01 / WordlePlus

Repository to store all the documentation, files and structure of my Final Degree Project (TFG in Spanish). The main goal is to develop, as full-stack web developer, a remodel of the Wordle game, including more features and functionalities using Ionic, Django REST Api and PostgreSQL.
1 stars 0 forks source link

Token expiration logic added #18

Closed davidcr01 closed 1 year ago

davidcr01 commented 1 year ago

The aim of this PR is to add the necessary logic to remove tokens when they have expired. This logic is not implemented by default by the rest_framework.auth tool.

Tokens with expiration times allow you to enforce access control policies more effectively. By setting shorter expiration times, you can enforce re-authentication at regular intervals, ensuring that users and clients have valid authorization to access protected resources.