Update forgejo.md
Add break-glass local account enable info.
This commit is contained in:
parent
5c3fcd7c39
commit
ee42ceb023
1 changed files with 3 additions and 1 deletions
|
@ -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).
|
||||||
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue