Georges-Antoine Assi
55ca39cacb
fix deprecations in pydantic
2026-03-15 09:34:48 -04:00
Georges-Antoine Assi
ed6f9f5907
cleanup endpoint tests
2026-03-14 23:56:46 -04:00
HydroSulphide
6a1c1597ce
Fix: directly import constants from config and preventing silent fallback on wrong user input for env variable
2026-03-12 20:18:48 +01:00
HydroSulphide
48091225c7
Fix: imports in all test files with renamed constants
2026-03-12 20:04:19 +01:00
HydroSulphide
b9ea937373
Merge branch 'master' into fix-oauth-token-expiry-and-refresh-rotation
2026-03-10 08:51:44 +01:00
HydroSulphide
8758cb31b7
Tried to fix everything the bot complained about and the failed pytests.
...
Three tests were also implemented to check initial implementation that now invalidates expired access and refresh tokens and also rotating refresh tokens.
Since I introduced wrapper functions for create_oauth_token to distinguish between access and refresh token there is no need to set the token type in the data dict, since the type is now enforced in the wrapper functions create_access_token and create_refresh_token.
By convention I renamed create_oauth_token to _create_oauth_token as it is considered a private helper function now.
2026-03-10 07:22:02 +01:00
Georges-Antoine Assi
11c16e92bd
run fmt
2026-03-09 22:53:30 -04:00
copilot-swe-agent[bot]
980360805b
Fix test: use async_cache instead of sync_cache to inject OIDC session data
...
Co-authored-by: gantoine <3247106+gantoine@users.noreply.github.com >
2026-03-10 02:39:36 +00:00
copilot-swe-agent[bot]
4992731265
Address code review feedback: log OIDC metadata errors, remove redundant import
...
Co-authored-by: gantoine <3247106+gantoine@users.noreply.github.com >
2026-03-10 02:01:59 +00:00
Georges-Antoine Assi
1f64e8437b
Switch ACCESS_TOKEN_EXPIRE_MINUTES to SECONDS
2026-03-08 22:46:54 -04:00
zurdi
a147b61a76
test: add comprehensive tests for user UI settings updates
2025-12-17 00:23:54 +00:00
Georges-Antoine Assi
ec6bb24662
Add new redis-backed session middleware
2025-11-22 10:47:59 -05:00
Michael Manganiello
e4e3928d1b
misc: Apply import sorting
2025-09-04 11:17:00 -03:00
Michael Manganiello
ba21cbc1e1
misc: Separate tests folder from backend code
...
Create separate `tests/` folder for all tests. This will also simplify
not copying tests code into the Docker image.
2025-08-08 12:49:13 -03:00