Skip to main content

Platform, Configuration & Security

Almost nothing in this section stops a 2.0 openmetadata.yaml from loading. The exception is an OPENMETADATA_SERVER_URL without a scheme. The other changes that matter are behavioral. Users are now identified by email address at sign-in. This is opt-in for OpenID Connect (OIDC), Security Assertion Markup Language (SAML), and JSON Web Token (JWT) sign-in. It is always on for Lightweight Directory Access Protocol (LDAP) sign-in. A few defaults also changed, and a database migration needs planning.

Email-First User Identity

Behavioral (opt-in) for OIDC, SAML, and JWT sign-in. Behavioral for LDAP, which uses the new flow on upgrade.
OpenMetadata can now identify users by their email address instead of guessing a user name from several token claims. For more information, see Configuration Reference Parameters.

New Settings

The email-first settings are:

Deprecated Settings

These settings are deprecated in favor of the email-first settings. The deprecated settings still work. jwtPrincipalClaims, adminPrincipals, principalDomain, and enforcePrincipalDomain are no longer required fields.

When It Turns On

Email-first sign-in is used for OIDC, SAML, and JWT only when emailClaim is set and jwtPrincipalClaimsMapping is empty. If you change nothing, 2.0 behavior is kept. Setting jwtPrincipalClaimsMapping keeps you on the older flow, and the server logs a warning saying so.
Before you set emailClaim, find users whose stored email address was made up by OpenMetadata because the identity provider never supplied one. From the server host, run:
Then repair each one with change-email. Add --clear-identity-binding if the address now belongs to a different person than the original account holder. Skipping this can leave a user unable to sign in to their existing account, or create a second account.
After you turn on email-first sign-in, the following applies:
  • OIDC sign-ins bind the provider’s sub to the account. If the same email later arrives with a different sub, the sign-in is refused until an admin clears the binding. This stops a re-used address from taking over a former employee’s account.
  • A display name sent by the provider overwrites the display name stored in OpenMetadata at each sign-in. If the provider sends none, the stored name is left alone.
  • New users get a user name generated from their email. If it is already taken, a suffix is added.

What Changes for LDAP on Upgrade

LDAP sign-in uses the email-first flow with no opt-in. The following table lists what changes.
If an LDAP directory entry has no mail value, the user cannot be matched. Check that your directory returns an email for everyone who signs in.

POST /v1/users With Non-Basic Providers

When the server uses any provider other than basic authentication, creating a user whose name is already taken now renames the new user on collision instead of returning a conflict. Scripts that relied on the conflict error to detect an existing user should look the user up by email first.

Email Handling Changes in the Database Migration

The 2.1.0 migration does the following:
  • It lowercases every stored user email.
  • On PostgreSQL, it adds indexes on LOWER(email) and LOWER(name) so sign-in lookups stay fast.
  • On MySQL, it changes the database default collation to utf8mb4_0900_ai_ci, which makes comparisons accent-insensitive for tables created from 2.1 on. It also converts the workflow engine’s ACT_* tables to that collation.

OIDC Sign-In Changes

Behavioral. Affects deployments using OIDC with a confidential client.
The following table compares the OIDC settings between 2.0 and 2.1.
If you rely on the provider showing a sign-in or consent screen every time, set OIDC_PROMPT_TYPE explicitly. If you set a short tokenValidity to force a new sign-in, set the equivalent session lifetime in your identity provider instead.

Other Configuration Changes

The following configuration changes apply in 2.1.

Configuration Source for Security and Email Settings

Behavioral. A new configSource block controls whether openmetadata.yaml or the database (the Settings pages in the UI) takes precedence. It applies to security, email, server URL, System for Cross-domain Identity Management (SCIM), and Model Context Protocol (MCP) settings.
app defaults to DB. Use ./bootstrap/openmetadata-ops.sh remove-security-config to reset stored security settings to the file. Switching to ENV refuses to replace a UI-configured identity provider with a different one unless SECURITY_CONFIG_SOURCE_CONFIRM_PROVIDER_CHANGE=true.

Defaults That Changed

These defaults changed in 2.1. Set ELASTICSEARCH_MAX_CONN_TOTAL and ELASTICSEARCH_MAX_CONN_PER_ROUTE back to the old values if your search cluster limits connections. To keep the Haiku 4.5 model, set LLM_BEDROCK_MODEL_ID to eu.anthropic.claude-haiku-4-5-20251001-v1:0.

The temperature Setting Is Ignored for Some Models

Newer models reject the temperature setting, so OpenMetadata no longer sends it to them. If you set temperature for the Bedrock, Anthropic, or OpenAI provider, OpenMetadata ignores it when the model ID contains one of these names:
  • opus-4-7, opus-4-8, and opus-5
  • sonnet-5, haiku-5, fable-5, and mythos-5
  • o1, o3, and o4-mini
  • gpt-5.6 and gpt-6
Other models still receive it. OpenMetadata decides this from the model ID alone. If the ID doesn’t name the model, such as a Bedrock application inference profile ARN or an Azure OpenAI deployment name, OpenMetadata still sends temperature and the call fails. Use a model ID that names the model instead: the foundation model or a system inference profile on Bedrock, or the underlying model name as modelId on Azure.

Deprecated: enableSecureSocketConnection

Deprecated. The setting has no effect. Push-feed socket connections always require valid credentials.

Token Checks Use a Per-Server Cache

Behavioral. Affects bot tokens and personal access tokens.
Each server now checks bot and personal access tokens against a short-lived in-memory copy of the stored credentials (credentialVerification). Revoking or rotating a token takes effect within maxStaleness (5 seconds by default). If a server cannot confirm a token with the database within loadTimeout (2 seconds by default), the request is answered with 503 instead of being allowed. If you run several servers, keep these settings identical on all of them.

Startup Checks Skip Unchanged Data

Additive. Affects how long the server takes to start and when bundled data is reloaded.
A new startupConfiguration block controls how startup skips work when nothing changed. The following table lists its settings.

Alert Scheduler Uses More Database Connections

Behavioral. Affects database connection limits.
The alert scheduler can now use up to 13 database connections per server at peak. In 2.0.4 it used up to five. If you run several servers against one database, check that the database connection limit still has room.

The Server URL Needs a Scheme

Behavioral. Affects deployments that set OPENMETADATA_SERVER_URL without http:// or https://.
OpenMetadata validates OPENMETADATA_SERVER_URL on the first start. The value must be an absolute http:// or https:// URL that includes the host. A value without a scheme stops the server with Operations configuration has an invalid 'openMetadataUrl'. An empty value falls back to http://localhost:8585.

Operations Commands Ignore the Query Timeout

Behavioral. Affects long-running openmetadata-ops.sh commands such as migrate.
Operations commands no longer stop at queryTimeoutSeconds. That timeout now applies only to API requests, so a long migration statement is not cancelled part way.

Docker Images Are Distroless

Behavioral. Affects custom images, scripts, and debugging steps that rely on tools inside the container.
The OpenMetadata server image now runs on a distroless Debian base instead of Alpine. A small shell is still included. The start scripts, health checks, and bash -c commands in your deployment keep working. The following changes apply:
  • There is no package manager, so apk add no longer works in a derived image.
  • The container runs as the numeric user and group 65532:65532. The openmetadata user no longer exists, so USER openmetadata in a derived image fails.
  • Volumes that the server writes to, such as logs or custom mounts, must be writable by 65532. In Kubernetes, set runAsUser and fsGroup to 65532 if your volumes keep the old owner.
  • The Java runtime is a trimmed build that keeps java, jcmd, jstack, and jmap. Tools such as jshell and javac are removed.
If you build on top of this image, add your packages in an earlier build stage and copy the results in.

The Server Container Receives Stop Signals Directly

Behavioral. Affects Docker and Kubernetes operators who tune shutdown.
The server start script now runs the Java process with exec, so the process receives docker stop and pod termination signals itself. The server can run its normal shutdown steps instead of waiting to be killed at the end of the grace period. Shutdown timing and log output change, so check your terminationGracePeriodSeconds if you set it.

Classic Mode Is Deprecated

Deprecated. Affects admins who set the default interface mode, and anyone who uses Classic mode.
OpenMetadata now offers two interface modes, AI and Classic. Classic is deprecated. It stays fully supported until the release that removes it. In the places where you choose a mode, the interface marks Classic as Deprecated. The deprecation has the following effects:
  • For the default mode, appConfiguration.defaultAppMode (environment variable APP_DEFAULT_MODE) sets the default for users who have not chosen a mode. The values are ai and classic, and the default is empty. Admins can also change it at run time. A user’s own choice and a persona’s mode take precedence over it.
  • When Classic is removed, an organization default or a persona that is still set to Classic moves to AI mode. A user who switches from Classic to AI keeps their settings.
  • In AI mode, settings open in a settings modal from the profile menu. The pages at /settings/*, /marketplace/*, and /bots/* are not served in AI mode and show a not-found page. Update bookmarks and links that point to them.
Switch to AI mode now, and update documentation or runbooks that describe the Classic navigation.

Context Center No Longer Extracts Text From Images

Behavioral. Affects deployments that set the Apache Tika or Tesseract settings for Context Center.
OpenMetadata 2.1 removes Apache Tika and image optical character recognition (OCR) from Context Center. An uploaded image, archive, or other file type that isn’t text-extractable is always marked Unsupported for text extraction. The following settings no longer have any effect. You can remove them from openmetadata.yaml and from your environment:

Other New Settings

Additive. OpenMetadata 2.1 adds these settings:
  • scimConfiguration
  • llmConfiguration.memoryExtractionEnabled
  • The alerting tuning block
  • eventMonitoringConfiguration.requestLatencyPercentileHistogram
The alerting.awaitEmailOutcome setting defaults to true. For more information, see Defaults That Changed.The upgrade also adds Resource Description Framework (RDF) settings. For more information, see Data Governance.

The 2.1.0 Database Migration

Plan a maintenance window and take a backup first. The migration rewrites stored data, so rolling back means restoring that backup.
This section lists what the 2.1.0 database migration changes.

Steps That Need Planning

These migration steps need planning.

New Tables and Indexes

New tables back incident grouping, metric groups, and the ontology features. The migration also adds a few new indexes, for example on entity_usage and the test case incident tables. Index builds on very large tables are the slowest part of the migration on PostgreSQL.
Ontology and glossary data is rewritten by this migration, including glossary term attributes. For more information, see Data Governance.