Authentication Settings

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

Internal Authentication

Internal authentication is always enabled and cannot be disabled. However, OIDC can be used alongside internal authentication if OIDC is enabled.

OIDC Authentication (Experimental)

Configure external authentication providers using OpenID Connect (OIDC) protocol for seamless single sign-on integration.

@if (!isOidcFormComplete()) {
(Fill all required fields to enable)
}

OIDC Provider Settings

Required scopes for OIDC login and token exchange. Must be supported and advertised in the provider's discovery metadata.
These claims are used by Booklore to provision new OIDC users with their name, username, and email. Ensure they match the claims provided by your OIDC provider.
@if (oidcEnabled) {

OIDC User Provisioning

Enabling auto-provisioning ensures that new users are automatically created with the selected default permissions. If turned off, users must be manually created in Booklore before they can log in.
@if (autoUserProvisioningEnabled) {
Default permissions for auto-provisioned users
@for (perm of availablePermissions; track perm) {
}
Default libraries for auto-provisioned users
}
}