Skip to content

Status

What works in NeoZen, and what doesn't yet. NeoZen is 0.x: even a stable feature's API can change before 1.0.

  • Stable: works as documented, and is tested.
  • Experimental: works, with the gaps listed. Expect changes.
  • Sketch: code exists, but nothing uses it yet. Don't build on it.

Stable

Feature Notes
Passwords, magic links, TOTP, email OTP, WebAuthn / passkeys
Social login (Google, GitHub)
Identifiers (email, username, phone)
Sessions Lifetime and inactivity timeout are passed to SessionServiceFactory, not read from neozen.toml
Roles, permissions and policies, assigned to subjects Roles assigned to groups: see Experimental
Groups and invitations
OAuth 2.1 server
Flask, Litestar and Starlette adapters
SQLAlchemy storage and migrations
Rate limiting
Admin console: subjects, roles, groups, sessions, CSV import and export; read-only settings and security policies pages The settings and policies pages change nothing. They show the console's own configuration and the neozen.toml it finds, not settings an application makes in code. No API keys or webhooks. The security dashboard's sign-in counts: see Sketch
neozen serve: the admin console and health checks The OpenID Connect provider: see Experimental
i18n (English, French)

Experimental

Feature What is missing
OpenID Connect provider prompt=login and max_age need the time of the sign-in: the adapters read it from NeoZen's session, and an app that signs users in itself gets login_required for them. Request objects (request, request_uri) are refused. Discovery lists a /userinfo endpoint the adapters' OIDC routers don't mount (mount UserInfoEndpoint yourself; neozen serve mounts it)
SCIM 2.0 Framework-neutral handlers: no framework adapter routes them. neozen serve mounts Users only, when [oauth_server] scim_clients is set (mapping): DELETE deactivates, names aren't kept. PATCH ignores paths with value filters. No bulk, sort or ETags
neozen serve as an OpenID Connect provider With [oauth_server] enabled = true: the OAuth endpoints, discovery, JWKS and UserInfo, RP-initiated logout (/oauth/end_session), with password sign-in, consent and sign-out pages. No second factor. Back-channel logout tokens are sent when a user signs out of neozen serve, not when the console revokes their sessions, their password changes or they are deactivated. SCIM users with scim_clients; post_logout_redirect_uri must be one of the client's redirect URIs. Clients are registered with neozen client create
Sign in through an OpenID Connect provider (OIDCProvider) Tested against neozen serve, not yet against other providers. No logout at the provider (RP-initiated or back-channel), no prompt or max_age on the request, no encrypted ID tokens, no private_key_jwt client authentication. Not configurable in neozen.toml
LDAP Read-only: no writes, no connection pooling, no group lookups
Account lockout The TOTP factor locks a subject's codes after repeated wrong ones (in memory by default: pass a LockoutManager on a shared store with several workers). The password factor doesn't call LockoutManager: the application's login handler does (how)
Audit log Only the admin console records entries (its own actions and sign-ins). Sign-ins through the factors and adapters, token grants and the core services record nothing. The Flask adapter sends user_logged_in and user_logged_out signals, which an application can record from
Roles assigned to groups The admin console assigns them and counts them in its permission views; has_permission and the guards ignore them
Peewee, Tortoise ORM and plain SQL (databases) storage The generic repository only. Sessions, OAuth, roles, groups and the admin console need SQLAlchemy
neozen.toml neozen serve reads database, security.secret_key, session.cookie_secure and oauth_server, and create_admin_app() without a config reads database.url and security.secret_key; NeoZenFactory also reads password, totp, webauthn, oauth.providers and oauth_server. email, authorization, admin, logging, the rest of session and oauth.state_lifetime and default_scopes are read by nothing (admin is validated, not applied), though neozen config init writes them
PostgreSQL The integration tests that use the database fixtures run on PostgreSQL in CI, and locally with NEOZEN_TEST_DATABASE_URL or make test-postgres-docker. The other tests use SQLite
MariaDB, MySQL Not supported yet: their DATETIME keeps whole seconds, so the password history can't order passwords set in the same second. The integration tests run there (make test-mariadb-docker) with that one failure expected

Sketch

Feature What is missing
Admin console security dashboard sign-in counts They read login entries, which nothing in NeoZen writes