{{define "content"}}{{template "settings-start" .}}{{with .Data}}

Sign-in

People can sign in with their Federated Core account, through the Core's Authelia (OpenID Connect), as well as, or instead of, a password here.

{{with .Problem}}{{end}} {{with .Tested}}

{{.}}

{{end}} {{if not .Core}}

First enter the Core's domain under Core & Hermes.

{{else}}

1. The client

Issuer
{{.Issuer}}
Redirect address
{{.Callback}}

Supermarket keeps the secret, encrypted; only its hash goes to the Core.

{{with .Block}}

2. On the Core

The Core's admin adds this entry under identity_providers.oidc.clients in Authelia's idproviders.yml, beside the other services', then restarts Authelia:

{{.}}

3. Test, and turn it on

Reads Authelia's discovery document.
{{template "access-fields" (dict "Role" "member" "Modules" $.Data.C.AutoModules "Grants" $.Data.Grants)}}

Otherwise only people invited may sign in: matched by their email the first time, then by their account at the Core.

In Authelia's users, {{$.Data.Prefix}}-admins makes an admin; {{$.Data.Prefix}}-module lets someone edit a module, and {{$.Data.Prefix}}-module-view read it ({{range $i, $g := $.Data.Grants}}{{if $i}}, {{end}}{{$g.ID}}{{end}}). Each time someone signs in with the Core, their role and modules are set from their groups, and someone not yet in the team who is in one joins (if there's a seat free). The owner is never changed; someone in none of these groups keeps the access set here.

{{end}} {{end}} {{end}}{{template "settings-end"}}{{end}}