Platform & Security
Nothing on this page stops a Collate 2.0.8openmetadata.yaml from loading. The changes that matter are behavioral. Collate now identifies users by email address at sign-in. This is opt-in for OpenID Connect (OIDC), Security Assertion Markup Language (SAML), and JavaScript Object Notation (JSON) Web Token (JWT) sign-in. It is always on for Lightweight Directory Access Protocol (LDAP) sign-in. A few defaults also changed, the server image changes, and a database migration needs planning. All changes are compared against Collate 2.0.8.
Email-First User Identity
Behavioral. Opt-in for OIDC, SAML, and JWT sign-in. LDAP sign-in uses the new flow on upgrade.
New Settings
The email-first settings are listed in the following table.
The
openmetadata.yaml file that is included with Collate 2.1 does not list these settings. The server applies its built-in defaults. If you manage your own configuration file, add the settings you need to it.
Deprecated Settings
The following settings are deprecated in favor of the email-first settings.
Most deprecated settings still work. The following settings are also no longer required fields:
jwtPrincipalClaimsadminPrincipalsprincipalDomainenforcePrincipalDomain
When It Turns On
Email-first sign-in is used for OIDC, SAML, and JWT only whenemailClaim is set and jwtPrincipalClaimsMapping is empty. If you change nothing, Collate 2.0.8 behavior is kept. Setting jwtPrincipalClaimsMapping keeps you on the older flow, and the server logs a warning saying so.
Before you set emailClaim, do the following:
-
Find users whose stored email address was made up by Collate because the identity provider never supplied one. From the server host, run the following command:
-
Repair each one with
change-email. Add--clear-identity-bindingif the address now belongs to a different person than the original account holder.
- OIDC sign-ins bind the provider’s
subto the account. If the same email later arrives with a differentsub, 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 Collate at each sign-in. If the provider sends none, the stored name is not changed.
- 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 Collate 2.1 database migration does the following:- It lowercases every stored user email.
- On PostgreSQL, it adds indexes on
LOWER(email)andLOWER(name). - On MySQL, it changes the database default collation to
utf8mb4_0900_ai_ci, which makes comparisons accent-insensitive for tables created in Collate 2.1 and later. It also converts the workflow engine’sACT_*tables to that collation.
OIDC Sign-In Changes
Behavioral. Affects deployments that use OIDC with a confidential client.
The
openmetadata.yaml file that is included with Collate 2.1 keeps oidcConfiguration.prompt at consent and oidcConfiguration.maxAge at 0. Those two defaults do not change.
If you set a short
tokenValidity to force a new sign-in, set the equivalent session lifetime in your identity provider instead.Support Access Is Revoked Immediately
Behavioral. Affects admins who grant Collate Support access to their deployment.
Other Configuration Changes
The following configuration changes apply in Collate 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, and server URL settings. It also applies to System for Cross-domain Identity Management (SCIM) and Model Context Protocol (MCP) settings.openmetadata.yaml file that is included with Collate 2.1 does not include the block, so the defaults in the following table apply.
The
app setting 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
The following defaults change in theopenmetadata.yaml file that is included with Collate 2.1.
The two model settings are described with memory extraction. For more information, see Memory Extraction Is On by Default.
The search threshold is described with hybrid search. For more information, see Hybrid Search Matches More Semantic Results.
The Elasticsearch connection pool settings stay as they were in Collate 2.0.8. The
elasticsearch.maxConnTotal setting stays at 30, and elasticsearch.maxConnPerRoute stays at 10.
Token Checks Use a Per-Server Cache
Behavioral. Affects bot tokens and personal access tokens.
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 a 503 Service Unavailable error 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.
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.
Alerting Tuning Settings
Additive. The new
alerting block tunes how alerts send. The defaults keep the earlier behavior.openmetadata.yaml file that is included with Collate 2.1.
The Server URL Needs a Scheme
Behavioral. Affects deployments that set
OPENMETADATA_SERVER_URL without http:// or https://.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.queryTimeoutSeconds. That timeout now applies only to API requests, so a long migration statement is not cancelled part way.
Content Delivery Network Support for the UI
Additive. Collate 2.1 can serve the UI bundle from a content delivery network (CDN). It is off by default.
cdn.enabled is true and cdn.baseUrl is set, Collate rewrites the asset URLs in index.html to point at {baseUrl}/{appVersion}/. If a browser cannot load an asset from the CDN, it sets a 5-minute cdn_off=1 cookie and reloads. Collate then serves that browser the assets from the server itself. The environment variables are CDN_ENABLED and CDN_BASE_URL.
Context Center No Longer Extracts Text From Images
Behavioral. Affects deployments that set the Apache Tika or Tesseract settings for Context Center.
openmetadata.yaml and from your environment:
Other New Settings
Additive. Collate 2.1 adds more settings that other pages describe.
aiPlatformConfiguration are described with the AI Platform connections. For more information, see AI Platform Connections Can Use Transport Layer Security.
The aiPlatformConfiguration.knowledgeBase.enabled setting is described with the Support Agent. For more information, see Support Agent Is Available When the Knowledge Base Is On.
The Resource Description Framework (RDF) settings are described with data governance. For more information, see New RDF Settings.
Docker Images Are Distroless
Behavioral. Affects custom images, scripts, and debugging steps that rely on tools inside the container.
bash -c commands in your deployment keep working. The bash command is a thin wrapper around that small shell, so features that only Bash has are not available. The following changes apply:
- There is no package manager, so
apk addno longer works in a derived image. - The container runs as the numeric user and group
65532:65532. Theopenmetadatauser no longer exists, soUSER openmetadatain a derived image fails. - Volumes that the server writes to, such as logs or custom mounts, must be writable by
65532. In Kubernetes, setrunAsUserandfsGroupto65532if your volumes keep the old owner. - The Java runtime is a trimmed build. Tools such as
jshellandjavacare removed.
java and keytool commands. It also keeps the following diagnostic tools:
jcmdjstackjmapjinfojpsjstatjfr
The Collate 2.1 Database Migration
This section lists what the Collate 2.1 database migration changes.Steps That Need Planning
The following migration steps need planning.Collate-Only Migration Steps
The Collate migration adds the following steps. Each one is safe to run again.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 onentity_usage and the test case incident tables. Index builds on very large tables are the slowest part of the migration on PostgreSQL.
Collate adds the following tables:
metadata_standard_entitymetadata_completeness_rungovernance_automation_entityai_message_feedbackai_chart_refreshcontext_plugin_oauth_statemember_weekly_email_deliverymember_weekly_email_preferencemember_weekly_email_controlmemory_outcome_event
Ontology and glossary data is rewritten by this migration, including glossary term attributes. For more information, see Data Governance.