forgejo/services/auth/source/oauth2
Gusted b51f97e97d feat: add option to allow non-local users to change usernames (#8714)
Add a new config option for OAuth2 authentication sources: allow users to change their username.

In the case where OAuth2 is more like a social OAuth2 login there's no need to not allow users to change their username. The information how the user is linked to the authentication source is stored in different fields.

Resolves forgejo/forgejo#687

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/8714
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-08-06 20:25:13 +02:00
..
assert_interface_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
init.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
jwtsigningkey.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
jwtsigningkey_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
providers.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
providers_base.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
providers_custom.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
providers_openid.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
providers_simple.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
source.go feat: add option to allow non-local users to change usernames (#8714) 2025-08-06 20:25:13 +02:00
source_authenticate.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
source_callout.go feat: implement PKCE when acting as oauth2 client (for user login) 2024-04-29 11:20:26 +02:00
source_name.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
source_register.go Handle OpenID discovery URL errors a little nicer when creating/editing sources (#23397) 2023-03-10 01:14:43 -05:00
store.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
token.go chore(cleanup): replaces unnecessary calls to formatting functions by non-formatting equivalents (#7994) 2025-05-29 17:34:29 +02:00
urlmapping.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00