Skip to main content

Platform & Security

Nothing on this page stops a Collate 2.0.8 openmetadata.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.
Collate can now identify users by their email address instead of guessing a user name from several token claims.

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:
  • jwtPrincipalClaims
  • adminPrincipals
  • principalDomain
  • enforcePrincipalDomain

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, 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:
  1. 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:
  2. 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 these steps can leave a user unable to sign in to their existing account, or can create a second account for that user.
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 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) and LOWER(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’s ACT_* tables to that collation.

OIDC Sign-In Changes

Behavioral. Affects deployments that use OIDC with a confidential client.
The following table lists the OIDC settings that change. 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.
A support session now signs in through a stored session. When you revoke support access, Collate revokes the support user’s sessions and tokens and then deletes the support user. The support token stops working on its next request instead of at its natural expiry. A token that is not tied to a session is no longer issued. The support access email now goes to the address that you granted access to. In Collate 2.0.8, it was addressed to the support user, whose own address is not a mailbox.

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.
The 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 the openmetadata.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.
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 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.
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. Earlier releases used up to five. If you run several servers against one database, check that the database connection limit still has room.

Alerting Tuning Settings

Additive. The new alerting block tunes how alerts send. The defaults keep the earlier behavior.
The following table lists the settings in the 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://.
Collate 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.

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.
When 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.
Collate 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. Collate 2.1 adds more settings that other pages describe.
The encryption settings of 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.
The Collate 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 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 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. Tools such as jshell and javac are removed.
The runtime keeps the java and keytool commands. It also keeps the following diagnostic tools:
  • jcmd
  • jstack
  • jmap
  • jinfo
  • jps
  • jstat
  • jfr
If you build on top of this image, add your packages in an earlier build stage and copy the results in.

The Collate 2.1 Database Migration

Behavioral. 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 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 on entity_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_entity
  • metadata_completeness_run
  • governance_automation_entity
  • ai_message_feedback
  • ai_chart_refresh
  • context_plugin_oauth_state
  • member_weekly_email_delivery
  • member_weekly_email_preference
  • member_weekly_email_control
  • memory_outcome_event
Ontology and glossary data is rewritten by this migration, including glossary term attributes. For more information, see Data Governance.