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
+5 -1
View File
@@ -55,7 +55,11 @@ func testServerDB(t *testing.T) (*httptest.Server, *db.DB) {
t.Fatal(e)
}
q := u.Query()
q.Set("search_path", schema)
// The pg_trgm extension is installed in public by the database init
// script. The test schema owns the app tables, but PostgreSQL must also
// see public to resolve gin_trgm_ops when schema.sql builds the trigram
// indexes. Test schemas still take precedence for every app table.
q.Set("search_path", schema+",public")
u.RawQuery = q.Encode()
d, e := db.New(&config.Config{DatabaseURL: u.String()})
if e != nil {