Authentication Settings

Configure authentication methods for your Booklore instance. Internal authentication is always enabled, and you can optionally enable OIDC for external authentication providers.

Authentication Methods

Choose which authentication methods are available for users to sign in.

Internal Authentication Always Enabled

Built-in username and password authentication. This is the default method and cannot be disabled.

OIDC Authentication Experimental {{ oidcEnabled ? 'Enabled' : 'Disabled' }}

OpenID Connect for single sign-on with external providers (Authentik, Keycloak, etc.). @if (!isOidcFormComplete() && !oidcEnabled) { Configure settings below to enable. }

OIDC Provider Configuration

Configure your OIDC provider settings. All fields are required to enable OIDC authentication.

Required scopes for OIDC login. Must be supported by your provider.

Claim Mappings

Map OIDC token claims to Booklore user fields. These must match your provider's token claims.

@if (oidcEnabled) {

User Provisioning

Configure how new OIDC users are created and what permissions they receive.

Automatic User Provisioning {{ autoUserProvisioningEnabled ? 'Enabled' : 'Disabled' }}

When enabled, new users are automatically created on first OIDC login with the permissions below. When disabled, users must be manually created in Booklore before they can log in via OIDC.

@if (autoUserProvisioningEnabled) {

Default Permissions

@for (perm of availablePermissions; track perm) {
}

Default Library Access

}
}