Update forgejo.md

Add break-glass local account enable info.
This commit is contained in:
thhsh 2025-07-07 11:29:08 -04:00
parent 5c3fcd7c39
commit ee42ceb023
Signed by: thhsh
SSH key fingerprint: SHA256:6xs0MnltwjyYI//UN9PNFDQbA2aYZV8dB8IrNcZ41Qs

View file

@ -9,7 +9,9 @@ We use a self-hosted Forgejo instance for our Git source code hosting.
**Project group**: `SCsys_hosted` **Project group**: `SCsys_hosted`
**Configuration repo**: [:simple-forgejo: starcat-infra/git-server](https://git.starcat.systems/starcat-infra/git-server) **Configuration repo**: [:simple-forgejo: starcat-infra/git-server](https://git.starcat.systems/starcat-infra/git-server)
## Notes
### Disabling OIDC
By default, Forgejo is set up to force users to use Pocket (StarCat ID) to log in. In case Pocket is not working, we can change a line in `app.ini` to show the local login form. See [:simple-forgejo: `app.ini` line 79](https://git.starcat.systems/starcat-infra/git-server/src/commit/f802febff4ae34eceb312f538e867c1615471ca4/forgejo/app_ini/app.ini#L79). SSH to the server with a sudo-capable account, open `app.ini`, and change the line `ENABLE_INTERNAL_SIGNIN = false` to `ENABLE_INTERNAL_SIGNIN = true`, then restart Forgejo. Then, you can log in with a local break-glass account (see 1Password).
--- ---