- Aug 08, 2018
-
-
Benjamin Bertrand authored
Using flask-login request_loader, we can validate jwt tokens. This allows to use the same decorators for the web UI (using cookies) and the API (using JWT) as well as the current_user local proxy.
-
- Jul 06, 2018
-
- Jan 18, 2018
-
- Dec 19, 2017
-
-
Benjamin Bertrand authored
To check if the unique object is the one being edited, we need to store the object used to create the form in the form (_obj). This is inspired from flask-admin.
-
- Dec 14, 2017
-
-
Benjamin Bertrand authored
Those tokens are supposed to be used in scripts or applications to access the API and should not expire. Updated to flask-jwt-extended 3.4.0 to be able to disable expiration See https://github.com/vimalloc/flask-jwt-extended/issues/105
-
- Dec 13, 2017
-
-
Benjamin Bertrand authored
- All created tokens are stored in the database. To revoke a token, we just delete it from the database. Tokens not found in the database are thus considered unvalid / revoked. - Add button to copy generated token to the clipboard - Redesign profile page
-