Phase 12: signing in with the Core's Authelia
Admins make the client's secret under Settings → Sign-in, which shows the entry for the Core's idproviders.yml (the secret's PBKDF2-SHA512 hash, the redirect address, PKCE). People sign in with their Core account: invited ones are matched by verified email, then by subject; optionally anyone at the Core's domain joins. Passwords can be turned off but for the owner's, and signing out ends the Core's session where it can. On multi-tenant, the team is found by its proved domain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -291,6 +291,16 @@ CREATE UNIQUE INDEX teams_proved_domain ON teams(domain) WHERE verified_at <> ''
|
||||
SQLite: `
|
||||
ALTER TABLE sessions ADD COLUMN view_until TEXT NOT NULL DEFAULT ''; -- a platform admin viewing a team: until then
|
||||
ALTER TABLE sessions ADD COLUMN view_reason TEXT NOT NULL DEFAULT '';
|
||||
`,
|
||||
},
|
||||
// 43
|
||||
{
|
||||
Note: "signing in with the Core (OpenID Connect): who each person is there, and how a session signed in",
|
||||
Platform: true,
|
||||
SQLite: `
|
||||
ALTER TABLE users ADD COLUMN oidc_subject TEXT NOT NULL DEFAULT ''; -- <issuer>|<subject>: who they are at the Core
|
||||
CREATE UNIQUE INDEX users_oidc_subject ON users(oidc_subject) WHERE oidc_subject <> '';
|
||||
ALTER TABLE sessions ADD COLUMN via TEXT NOT NULL DEFAULT 'password'; -- password or core
|
||||
`,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user