{{define "content"}}

Sign in to Relata

{{if .OAuthEnabled}}

Sign in with your organisation account to reach your workspace.

Sign in with {{.ProviderName}}

{{end}} {{if and .OAuthEnabled .LocalEnabled}}

or

{{end}} {{if .LocalEnabled}}

The username created with relata createadmin.

{{if .OAuthEnabled}}

Local accounts exist to recover from a problem with {{.ProviderName}}. If you have an organisation account, use the button above — a local account has its own separate workspace.

{{end}} {{end}} {{if not (or .OAuthEnabled .LocalEnabled)}}

No way to sign in is configured

Neither federated nor local sign-in is enabled. Set RELATA_OAUTH_ENABLED=true or RELATA_LOCAL_LOGIN_ENABLED=true and restart.

{{end}} {{if and .FirstRun .LocalEnabled}}

No accounts exist yet

Create the first administrator from the command line:

relata createadmin --username admin

You will be prompted for a password. It is never shown or logged.

{{end}}
{{end}}