Add Authelia identity bridge for NextAuth sessions
release gate / check (push) Failing after 6m40s

Keep NextAuth as the OIDC/session layer and add a trusted Go provisioning endpoint that maps verified Authelia subjects to local users. Existing password accounts require explicit admin linking; new users are provisioned without a password. Enable the Authelia login path and update docs. Also fix test schema search_path so pg_trgm opclasses resolve.
This commit is contained in:
Andrew S Erwin
2026-10-22 12:39:39 -05:00
parent d870eece1e
commit c432ff57e9
16 changed files with 796 additions and 150 deletions
+7 -4
View File
@@ -74,7 +74,9 @@ POSTGRES_VOLUME_EXTERNAL=false
The supplied `POSTGRES_PASSWORD=superbrain` works with the bundled database.
If you choose a different password, set it before the first startup; use a
random hexadecimal value to avoid special characters in the connection URL.
Keep the `OIDC_*` placeholders as supplied: use email/password login for now.
Keep the `OIDC_*` placeholders as supplied for email/password login. To use
Authelia instead, fill in the real OIDC values and follow
[web/docs/AUTHELIA.md](web/docs/AUTHELIA.md).
Keep `.env` for future starts and upgrades. It is ignored by Git. **Keep
`AUTH_SECRET` unchanged:** changing it invalidates sessions, and — unless a
@@ -250,9 +252,10 @@ The core app works without any external services.
synced contact with a bookmark.
- **Browser alerts:** Allow notifications when prompted. Alert checks run
while the app is open in your browser.
- **Authelia:** This integration is intentionally unfinished. Setting OIDC
environment variables alone does not enable sign-in. See
[web/docs/AUTHELIA.md](web/docs/AUTHELIA.md) for integration details.
- **Authelia:** OIDC sign-in is enabled when all three `OIDC_*` variables hold
real values. The Next server validates the identity and Go provisions the
local user. See [web/docs/AUTHELIA.md](web/docs/AUTHELIA.md) for client
registration and account-linking details.
## Troubleshooting