Commit Graph
28 Commits
Author SHA1 Message Date
zurdi 78eef900b9 feat: update logs endpoint to require 'logs.read' scope and adjust related authorization checks 2026-06-20 09:55:10 +00:00
Georges-Antoine Assi f107dc2752 changes from bot rview 2026-03-22 17:17:14 -04:00
Georges-Antoine Assi c61f52ebed clean create web device 2026-03-15 20:25:38 -04:00
Georges-Antoine Assi e1b07cacfc make devices actually unique 2026-03-15 20:09:33 -04:00
Georges-Antoine Assi 29112b4ddc create device on login web 2026-03-15 11:25:39 -04:00
Zurdi 4b9e76f550 backend structure refactor 2024-01-12 23:44:27 +01:00
Zurdi eea7e41940 docstrings added to endpoints + organized imports + formatted code 2024-01-09 16:22:31 +01:00
Georges-Antoine Assi 3965ca1997 Add basic auth + fix tests and typing 2023-08-23 11:21:01 -04:00
zurdi f4f936f624 user avatar and enable/disable user support added 2023-08-23 14:16:31 +02:00
Georges-Antoine Assi 92c505fcac First round of self cleanup 2023-08-18 21:12:31 -04:00
Georges-Antoine Assi b92844ba80 Microfixes + get edit working 2023-08-18 10:03:34 -04:00
zurdi 5f598443eb starlette CSRFMiddleware import fixed 2023-08-18 12:17:43 +02:00
Georges-Antoine Assi 0b5a09d53f Add test for rom endpoint 2023-08-13 14:10:27 -04:00
Georges-Antoine Assi 6e87522f96 Add tests for platform 2023-08-13 12:44:23 -04:00
Georges-Antoine Assi da4c318f6c Add tests for auth utils 2023-08-13 11:10:59 -04:00
Georges-Antoine Assi 9d0d7f7631 Fix bad jwt tokens 2023-08-12 22:15:24 -04:00
Georges-Antoine Assi 5943489f51 Oauth scheme and security list 2023-08-12 21:46:32 -04:00
Georges-Antoine Assi 8c39b8dbe6 Use random secrets for cors and middleware 2023-08-12 10:10:12 -04:00
Georges-Antoine Assi 590ea89972 Place auth behind flag 2023-08-11 13:42:16 -04:00
Georges-Antoine Assi a5256dfe01 Move secret key to env variable 2023-08-11 13:02:13 -04:00
Georges-Antoine Assi 1b510d5499 Split oauth endpoint 2023-08-11 10:47:12 -04:00
Georges-Antoine Assi 8d41a87659 Add csrf token check 2023-08-11 09:47:10 -04:00
Georges-Antoine Assi 6cf6f6ca78 Implement refresh tokens 2023-08-11 00:30:30 -04:00
Georges-Antoine Assi a8a402d250 Add scopes and roles 2023-08-10 23:37:05 -04:00
Georges-Antoine Assi b2ca819c16 Add session middlware + redis back auth 2023-08-10 09:58:51 -04:00
Georges-Antoine Assi cb306d3099 Working authentication via starlette 2023-08-10 00:06:25 -04:00
Georges-Antoine Assi 32a79ac52d Switch to cookie based auth 2023-08-09 22:48:38 -04:00
Georges-Antoine Assi 9c3bc6b842 Add jwt based auth 2023-08-09 22:15:05 -04:00