Forgejo: auto-link Google SSO logins by verified email (#16)
This commit is contained in:
parent
62a8c8c805
commit
6ad51e3597
1 changed files with 7 additions and 0 deletions
|
|
@ -71,6 +71,13 @@ services:
|
|||
FORGEJO__security__INSTALL_LOCK: "true"
|
||||
# Actions on: repo/org/user-level runners register against this instance.
|
||||
FORGEJO__actions__ENABLED: "true"
|
||||
# Google SSO account handling: auto-link an OAuth login to the existing
|
||||
# account with the same (Google-verified) email — so signing in with
|
||||
# Google lands on the admin account instead of prompting for a password
|
||||
# link. Auto-registration stays OFF, so a Google email that matches no
|
||||
# existing user is rejected rather than silently granted an account.
|
||||
FORGEJO__oauth2_client__ACCOUNT_LINKING: "auto"
|
||||
FORGEJO__oauth2_client__ENABLE_AUTO_REGISTRATION: "false"
|
||||
# Gitea/Forgejo's app.ini env-mapping honors a __FILE suffix to read a
|
||||
# value from a file instead of the literal env var — same convention as
|
||||
# the official Postgres image's POSTGRES_PASSWORD_FILE above.
|
||||
|
|
|
|||
Loading…
Reference in a new issue