Commit Graph

308 Commits

Author SHA1 Message Date
Georges-Antoine Assi
81ede6ab3c Get redis working again with persistent auth 2023-08-18 11:07:41 -04:00
Georges-Antoine Assi
b92844ba80 Microfixes + get edit working 2023-08-18 10:03:34 -04:00
zurdi
4aea3eacf2 only create default admin user if no other admin user exists 2023-08-18 13:15:01 +02:00
zurdi
2bc3fbf864 delete admin user fixed 2023-08-18 12:35:27 +02:00
zurdi
5f598443eb starlette CSRFMiddleware import fixed 2023-08-18 12:17:43 +02:00
zurdi
9760aec194 removed unnecessary check in login endpoint 2023-08-18 11:19:26 +02:00
zurdi
5c0b6ea692 disabled browser login prompt in 401 responses 2023-08-18 10:44:01 +02:00
zurdi
3bc15bcbd3 extracted credentials exceptions in separated file 2023-08-18 09:05:54 +02:00
zurdi
34530779c3 Merge remote-tracking branch 'origin/simple-authentication' into simple-authentication-front 2023-08-18 08:44:43 +02:00
Georges-Antoine Assi
8e9d4add22 Global axios error handler 2023-08-17 23:58:32 -04:00
Georges-Antoine Assi
0c3bdfe354 MAke work when auth disabled in env 2023-08-17 23:06:22 -04:00
zurdi
5e2281c2fe login redirect if auth not enabled 2023-08-18 00:43:22 +02:00
Georges-Antoine Assi
83ae8d7199 Fix authentication 2023-08-17 13:58:48 -04:00
Georges-Antoine Assi
b9113cbb11 Set some consts as final 2023-08-14 15:00:19 -04:00
Georges-Antoine Assi
3e45be747a Extra checks on logout 2023-08-13 16:17:13 -04:00
Georges-Antoine Assi
588ae8b5a9 Add couple extra checks under identity 2023-08-13 14:37:38 -04:00
Georges-Antoine Assi
8fa7c0658f Fix fixture rename 2023-08-13 14:26:22 -04:00
Georges-Antoine Assi
9601b0fa9e Add tests for oauth endpoint 2023-08-13 14:25:07 -04:00
Georges-Antoine Assi
0b5a09d53f Add test for rom endpoint 2023-08-13 14:10:27 -04:00
Georges-Antoine Assi
4253b9ea43 Add tests for identity endpoints 2023-08-13 13:34:53 -04:00
Georges-Antoine Assi
6e87522f96 Add tests for platform 2023-08-13 12:44:23 -04:00
Georges-Antoine Assi
bd186b0228 Add endpoint tests 2023-08-13 12:18:38 -04:00
Georges-Antoine Assi
acaaee6102 ADd test for oauth utils 2023-08-13 11:38:36 -04:00
Georges-Antoine Assi
60cae1b288 Fix failing test 2023-08-13 11:22:16 -04:00
Georges-Antoine Assi
da4c318f6c Add tests for auth utils 2023-08-13 11:10:59 -04:00
Georges-Antoine Assi
d5db3eec25 Add test for user model 2023-08-13 09:58:17 -04:00
Georges-Antoine Assi
58b7e9adcf Tweaks to db handelr test 2023-08-13 09:44:49 -04:00
Georges-Antoine Assi
3f97eca338 add user test for db handler 2023-08-13 00:01:36 -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
faba6d4e75 Self code cleanup 2023-08-12 00:38:29 -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
1726ab5b60 Merge branch 'master' into simple-authentication 2023-08-11 10:53:26 -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
Zurdi
e2446337b6 Merge pull request #335 from zurdi15/fix-322
Fix multi rom zipping + streaming
2023-08-11 10:15:33 +02:00
zurdi
e006b33007 fixed sql script testing setup 2023-08-11 10:00:47 +02: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
b0869e7a2d Changes from self review 2023-08-10 18:18:26 -04:00
Georges-Antoine Assi
ad9f64719b Use sockets to track download completion 2023-08-10 15:35:37 -04:00
Georges-Antoine Assi
5062a9d033 kick off the download when it starts for multi files 2023-08-10 14:53:36 -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
37200aeefc Make cookie safe 2023-08-09 22:52:53 -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
Georges-Antoine Assi
19b651ab54 Fix multi rom zipping + streaming 2023-08-09 10:16:04 -04:00