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:
+7
-4
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user