Georges-Antoine Assi
b3339c177b
Run formatter on alembic files
2026-02-17 15:12:33 -05:00
Georges-Antoine Assi
ec6bb24662
Add new redis-backed session middleware
2025-11-22 10:47:59 -05:00
Georges-Antoine Assi
ab06a321e0
Check if user is enabled before generating auth tokne
2025-10-03 09:34:40 -04:00
Michael Manganiello
e4e3928d1b
misc: Apply import sorting
2025-09-04 11:17:00 -03:00
Georges-Antoine Assi
8061db40b2
fix tests and cleanup
2025-08-02 17:55:43 -04:00
Georges-Antoine Assi
53f9b8c9f7
remove auth response
2025-08-02 14:43:54 -04:00
Georges-Antoine Assi
1f5fa946be
cleanup auth resopnses
2025-08-02 13:47:04 -04:00
Georges-Antoine Assi
70fe56296b
Replace MessageResponse with spcific responses
2025-08-02 13:42:35 -04:00
Georges-Antoine Assi
c7cdbad141
tiny typo fix in auth
2025-07-19 10:03:55 -04:00
zurdi
eb4997a189
refactor: update password reset endpoint documentation and improve scroll behavior in router
2025-05-14 15:19:05 +00:00
zurdi
d27f4d626b
feat: Reset forgotten password added
2025-05-13 09:35:53 +00:00
Georges-Antoine Assi
db26248f04
Remove disabled login check from login endpoint
2025-03-21 14:58:47 -04:00
Michael Manganiello
70825830c4
misc: Set prefix and tags to API routers
...
Improve OpenAPI documentation by setting tags to each API router. Also,
set a prefix to each router to group the endpoints by their
functionality.
2025-02-09 11:31:13 -03:00
Georges-Antoine Assi
696a1c6122
Merge branch 'master' into rom-hashing-background-task
2025-01-15 21:51:23 -05:00
Georges-Antoine Assi
04c31374af
disable login endpoint as wel
2025-01-07 17:28:13 -05:00
Georges-Antoine Assi
4473b6e498
fix formatting and tests
2024-12-28 10:11:36 -05:00
Georges-Antoine Assi
3fcce6606c
complete updating the endpoints and models
2024-12-20 22:41:56 -05:00
Georges-Antoine Assi
34d49e6494
changes from self review
2024-12-13 11:33:39 -05:00
Georges-Antoine Assi
2d5bc34e9c
add tests for oidc handler
2024-12-12 17:37:30 -05:00
Georges-Antoine Assi
f2f8956ad4
more cleanup of unneded oauth code
2024-11-29 09:26:03 -05:00
Georges-Antoine Assi
3abf50b056
changes from self review
2024-11-27 23:28:54 -05:00
Georges-Antoine Assi
11923786be
fetch and use rsa key
2024-11-27 22:40:02 -05:00
Georges-Antoine Assi
bc5c2e45f3
wokring oidc setup with authentik
2024-11-26 23:57:15 -05:00
Georges-Antoine Assi
3a91b7ba54
Merge branch 'master' into openid-connect
2024-11-26 19:52:18 -05:00
Georges-Antoine Assi
8fc25cde99
use timezone aware datetimes
2024-09-09 10:11:46 -04:00
Michael Manganiello
8abbae4c02
misc: Make backend handle URLs with trailing slash
...
According to multiple FastAPI discussions [1], FastAPI only includes a
built-in mechanism to redirect requests including a trailing slash, to
its variation without slash, using a `307` status code.
This can be an issue when certain clients do not send the same headers
on the redirected request.
This change adds a custom FastAPI `APIRouter`, that registers both route
path variations (with and without trailing slash), while only marking
the path without slash for being included in the OpenAPI schema.
[1] https://github.com/fastapi/fastapi/discussions/7298
2024-08-07 00:22:21 -03:00
Georges-Antoine Assi
a46eb5643b
more stuff
2024-08-04 19:00:14 -04:00
Georges-Antoine Assi
0fae870837
start work with fake openid add for testing
2024-08-04 00:41:34 -04:00
Georges-Antoine Assi
2a980a04e6
last bits of fixes
2024-05-21 17:52:13 -04:00
Georges-Antoine Assi
b2085f87a8
bunch of fixes for trunk
2024-05-21 17:10:11 -04:00
Georges-Antoine Assi
a7cf0d389a
run trunk format on all files
2024-05-21 10:18:13 -04:00
Georges-Antoine Assi
2756121f06
Merge branch 'master' into python-pkg-drop
2024-05-14 09:22:59 -04:00
Georges-Antoine Assi
444a0fe9f6
fix auth jwt parsing
2024-05-13 09:39:12 -04:00
Georges-Antoine Assi
2749aaee4a
rename back to old names
2024-05-05 16:59:30 -04:00
Georges-Antoine Assi
9ad28f3294
more refactoring again
2024-05-05 16:32:40 -04:00
Georges-Antoine Assi
def2608c28
refactor db handlers
2024-05-05 15:46:07 -04:00
Georges-Antoine Assi
1a2c914045
refactor handlers out into own files
2024-05-05 12:45:56 -04:00
Georges-Antoine Assi
c3e1f4f44c
[ROMM-618] Add last logged in and last active for users
2024-04-06 15:29:40 -04:00
Georges-Antoine Assi
7ca551b743
switched to jwt backed sessions
2024-02-16 10:00:54 -05:00
Georges-Antoine Assi
81b5bcf9ba
refactor handler names
2024-01-18 14:04:35 -05:00
Georges-Antoine Assi
9495942084
Fix the rest of the tests
2024-01-17 10:57:07 -05:00
Zurdi
42065aec7c
backend refactor as RESTful
2024-01-15 13:34:18 +01:00