Files
gitocean/modules/setting
d130e1ee94 feat: add option to use preferred_username claim when registering users via oauth2 (#12504)
This is a continuation of #3346 based on the advise of https://codeberg.org/forgejo/forgejo/issues/1452#issuecomment-14591307.

fixes: #1452
docs: https://codeberg.org/forgejo/docs/pulls/1938

Extends the `oauth2_client` `USERNAME` setting to be able to use the `preferred_username` claim.

Co-authored-by: thepaperpilot <thepaperpilot@gmail.com>
Co-authored-by: Anthony Lawn <thepaperpilot@gmail.com>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/12504
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
2026-05-18 00:14:46 +02:00
..
2025-03-27 19:40:14 +00:00
2025-03-27 19:40:14 +00:00
2023-07-04 18:36:08 +00:00
2026-01-13 16:59:56 +01:00
2025-10-23 00:38:47 +02:00
2025-04-15 05:48:19 +00:00
2026-04-02 03:29:37 +02:00
2025-03-27 19:40:14 +00:00
2025-03-27 19:40:14 +00:00
2025-03-27 19:40:14 +00:00
2025-03-27 19:40:14 +00:00
2023-02-20 16:18:26 -06:00
2025-03-27 19:40:14 +00:00
2025-03-27 19:40:14 +00:00