Support external authenticaton source #129

Merged
christian-monch merged 14 commits from external-auth-source into master 2025-09-17 13:55:57 +00:00

14 commits

Author SHA1 Message Date
Christian Monch
5cd3fea6bd remove unused import 2025-09-17 15:49:52 +02:00
Christian Monch
1a6d59f4e3 add basic forgejo auth source tests 2025-09-17 15:49:20 +02:00
Christian Monch
947d39e8ab remove unused variables from test_config.py 2025-09-17 10:58:00 +02:00
Christian Monch
bfa596de9a remove unnecessary tuple()-call 2025-09-17 10:51:58 +02:00
Christian Monch
e67ac73f6e relax caching in Forgejo auth source
This commit reduces caching to the operations:
- get organization info
- get teams of organization
- get teams with access to a repository
2025-09-17 10:51:58 +02:00
Christian Monch
85f6ea644a add label_type to Forgejo auth config 2025-09-17 10:51:44 +02:00
Christian Monch
718b0b8ea9 add method level caching to forjego auth source 2025-09-17 10:51:44 +02:00
Christian Monch
effbe20a88 rename auth_provider to auth_sources 2025-09-17 10:51:44 +02:00
Christian Monch
0dec98189c update README.md 2025-09-17 10:51:35 +02:00
Christian Monch
aff53980c6 fix linter command 2025-09-16 17:35:46 +02:00
Christian Monch
5314e0e4d9 add forgejo- and config-authentication sources 2025-09-16 17:34:48 +02:00
Christian Monch
dbf1c52824 use schema name in generated module name 2025-09-16 17:31:22 +02:00
Christian Monch
9aa4641e30 support on-demand token store creation 2025-09-16 17:30:37 +02:00
Christian Monch
f56da9c5c1 fix a typo 2025-09-16 17:26:31 +02:00