Éloi Rivard
af2f71c978
tests: fix style
2025-01-10 14:50:17 +01:00
Éloi Rivard
a20ba92064
refactor: rename 'themes' module in 'templating'
2024-12-22 15:59:09 +01:00
Éloi Rivard
b7bb14cfe7
feat: JSON HTTP errors on the OAuth endpoints
2024-12-22 11:50:37 +01:00
sebastien
0fb3d588b9
adds password expiry policy with a new method on User class
2024-12-19 11:20:26 +01:00
Éloi Rivard
ad875455b8
doc: document templates
2024-12-19 10:08:09 +01:00
Éloi Rivard
fe8929d992
refactor: move templates in a common directory
...
without this, theming was broken because it needs one single directory
for templates.
2024-12-19 00:17:03 +01:00
Éloi Rivard
cee7401e1d
feat: show expired tokens on the token view page
2024-12-07 16:06:21 +01:00
Éloi Rivard
bab6fc6504
feat: button to create a new client token
2024-12-06 20:21:14 +01:00
Éloi Rivard
1bf196b5a2
refactor: User.subject type
2024-12-06 17:41:57 +01:00
Éloi Rivard
5bc438d21d
feat: implement OIDC client_credentials flow
2024-12-06 15:09:25 +01:00
Éloi Rivard
cd398ffa0a
chore: use the .example domain in placeholders
2024-11-20 14:19:25 +01:00
Éloi Rivard
fe8e1160ab
refactor: move session related methods in a dedicated file
2024-11-06 09:10:43 +01:00
Éloi Rivard
6b5e3e1a8e
fix: py310 unit tests
...
For some reasons, list["Client"] does not resolve the ForwardRef in
python 3.10 as it does with typing.List["Client"], which in the end
breaks the memory backend model accessors.
2024-10-28 21:41:55 +01:00
Éloi Rivard
0b51b01031
refactor: apply ruff migrations for python 3.10+
2024-10-28 09:13:00 +01:00
Félix Rohrlich
603eab0b3c
refactor : added proper security logging level and refactored change email logging
2024-10-21 11:17:55 +02:00
Félix Rohrlich
038e6c094e
feat: Added security logs for email update, forgotten password mail, token emission/refresh/revokation, new consent, consent revokation #177
2024-10-14 14:04:39 +02:00
Éloi Rivard
001d635295
tests: missing client_id on OIDC authorization page
2024-09-13 15:08:23 +02:00
Éloi Rivard
cfabcc485c
chore: automitaclly fix typos
2024-09-11 09:33:42 +02:00
Éloi Rivard
16c3021a8f
refactor: Rename BaseBackend in Backend
2024-05-03 22:25:20 +02:00
Éloi Rivard
b2d5f8d3a1
refactor: move BackendModel.update to Backend.update
2024-05-03 22:25:20 +02:00
Éloi Rivard
2ccdaeadf6
refactor: move BackendModel.delete to Backend.delete
2024-05-03 22:22:08 +02:00
Éloi Rivard
09588e0f48
refactor: move BackendModel.save to Backend.save
2024-05-03 22:22:06 +02:00
Éloi Rivard
44573713ed
refactor: move BackendModel.get to Backend.get
2024-05-03 21:54:03 +02:00
Éloi Rivard
ccde88b1bf
refactor: BackendModel.get() is now Backend.instance
2024-05-03 21:46:28 +02:00
Éloi Rivard
8425b2a3b8
refactor: move BackendModel.query to Backend.query
2024-05-03 21:42:54 +02:00
Éloi Rivard
dc89a20b11
chore: configure ruff
2024-04-23 22:12:04 +02:00
Éloi Rivard
256566df94
refactor: Model identifier_attributes are fixed.
2024-04-22 20:04:24 +02:00
Éloi Rivard
acf8acf29f
fix: locked users cannot use OIDC authorization codes
2024-04-17 13:05:14 +02:00
Éloi Rivard
fc8c0da912
fix: locked users cannot use refresh tokens
2024-04-17 12:07:11 +02:00
Éloi Rivard
31423cde1a
refactor: split oidc.authorize endpoint in several smaller functions
2024-04-17 11:56:44 +02:00
Éloi Rivard
88832b5b3b
refactor: move User.check_password and User.set_password methods to Backend
2024-04-07 20:17:15 +02:00
Éloi Rivard
5a6ce24074
refactor: move User.get_from_login method to Backend
2024-04-07 20:17:15 +02:00
Éloi Rivard
b6c59b3eda
refactor: add some typing to models
2024-04-07 16:39:05 +02:00
Éloi Rivard
7734ed185e
refactor: the id attribute is attached to the Model class
2024-04-05 16:05:17 +02:00
Éloi Rivard
ec7a721336
refactor: ldap objects id attribute is based on entryUUID instead of dn
2024-04-05 15:35:49 +02:00
Éloi Rivard
4344bfacbc
refactor: set default values for models
2024-04-01 18:55:13 +02:00
Éloi Rivard
163c0155b7
fix: OIDC JWT settings initialization
2024-03-29 17:30:12 +01:00
Éloi Rivard
8625318341
feat: use pydantic to validate the configuration
2024-03-28 17:44:26 +01:00
Éloi Rivard
9dac4185b9
feat: use flask-babel to format the number of consents
2024-03-27 14:01:43 +01:00
Éloi Rivard
4edffcaa9f
chore: use isort instead of reoder-python-imports
2024-03-15 19:58:37 +01:00
Éloi Rivard
d49e669cab
fix: avoid to fail on imports if cryptography is missing
2023-12-29 17:17:19 +01:00
Éloi Rivard
395b6ab4f3
chore: add docformatter pre-commit
2023-12-28 18:31:57 +01:00
Éloi Rivard
a237fa0198
chore: pre-commit update
2023-12-26 01:13:11 +01:00
Éloi Rivard
a4a381d088
refactor: gather endpoints in a 'endpoints' directory
2023-12-26 00:30:19 +01:00
Éloi Rivard
38038d8db9
refactor: use 'url_for' in templates instead of static urls
2023-12-25 20:15:21 +01:00
Éloi Rivard
06b60e1747
fix: post_logout_redirect_uris was ignored during OIDC dynamic registration
2023-12-23 21:32:31 +01:00
Éloi Rivard
c847ef9284
feat: OIDC prompt=create implementation
2023-12-23 19:37:48 +01:00
Éloi Rivard
521ed75f18
fix: correctly set up Client audience during OIDC dynamic registration
2023-12-23 19:37:14 +01:00
Éloi Rivard
9ff0411e9e
tests: extracted the prompt tests in a dedicated file
2023-12-22 21:18:02 +01:00
Éloi Rivard
97394823bf
fix: return a 403 error when users are missing permissions for OIDC authentication
2023-12-22 16:39:20 +01:00