Branding Element Web: name, logo, theme and SSO login

Element Web can carry your organization's name, logo, background and default theme, and can send users straight to your identity provider. This page explains the config options, the setup order and what to confirm before rollout.

On this page

Branding Element Web for your organization: what changes and when to do it

Branding Element Web means changing its configuration, not building a new client. Staff on a self-hosted Matrix server can get an organization's own name, login logo, background, default theme, permalinks and login flow by editing the config.json file that Element Web reads from your own hosting. The web client is served from infrastructure you control, so the branding lives in that file and in the static assets you host beside it. Plan the branding before rollout, because the login page and first-run experience are what most staff see first, and changing them later means telling users about a new look and a new sign-in path.

The Element Web config controls a small, defined set of surfaces. The brand key sets the product name shown in the interface. branding.auth_header_logo_url sets the logo on the login page, and branding.welcome_background_url sets the background image on the welcome page. default_theme decides which theme new users see before they choose their own. permalink_prefix points shared links at your own deployment instead of matrix.to, which matters once people paste room and message links into email or tickets. sso_redirect_options controls whether unauthenticated users are sent straight to your identity provider, shown the welcome page, or shown the login page. Confirm each key and its accepted values against the Element Web configuration file for the version you deploy, since keys change between releases.

Prioritize the SSO redirect and permalink settings before pilot users log in, because they decide the sign-in path and the links people keep. Logos, backgrounds and theme choices can follow once the login flow works, and they are cheap to revise. Test each change in a staging instance with a real SSO round trip, check that the permalink prefix resolves on your domain, and confirm how your identity provider behaves when a user is already signed in. Ask whether your team has a named owner for the hosted assets and a change process, since a broken logo URL or stale cache is the most common visible fault after go-live.

Element Web config options for branding and SSO login

This table lists the Element Web config keys that control the brand name, login logo, background, default theme, permalinks and SSO redirect behavior. Read each row for what users see, when the setting fits an organization, and what to check in your deployment before setting it. The main takeaway is that most keys are cosmetic, while sso_redirect_options changes how users reach sign-in and needs testing against your identity provider.

Config keyWhat it controls for usersWhen it fits and what to check
brandThe product name shown in the interface, window titles and login screens instead of Element.Fits when staff should recognize an internal chat service. Check every place the name appears, including app store listings if you publish your own builds.
branding.auth_header_logo_urlThe logo displayed on the login and registration header.Fits when the sign-in page should carry your organization's mark. Confirm the image URL is reachable by every browser that loads the client, and test on narrow screens.
branding.welcome_background_urlThe background image on the welcome page shown to users who are not signed in.Fits when the welcome page is part of your onboarding. Check image size and licensing, and confirm the file is hosted where your users can load it.
default_themeThe theme applied when a user has not chosen one, such as light or dark.Fits when you want a consistent first impression. Users can still change their own theme, so confirm whether your policy requires a fixed theme.
permalink_prefixThe domain used when Element creates links to rooms, messages and users, instead of matrix.to.Fits when links shared inside your organization should resolve on your own deployment. Check that your reverse proxy serves the matching paths, or links will fail for recipients.
sso_redirect_optionsSends unauthenticated users straight to the SSO or OIDC provider, either immediately, from the welcome page or from the login page.Fits when all staff sign in through one identity provider. Test each option with your provider and confirm that local password login is still available for break-glass access if your policy requires it.
Welcome and home page content keysCustom welcome and home page content as described in the Element Web config documentation.Include only after confirming in config.md that the key exists in the Element Web version you deploy. Pin the version and retest after each upgrade.

How sso_redirect_options changes the first screen users see

With the immediate option set, an unauthenticated visitor who opens Element Web is sent straight to the SSO or OIDC provider. The first screen is your organization's sign-in page, so the experience matches other internal applications and users never see an Element login form.

  • First contact: The user opens the company Element address and reaches the identity provider sign-in page in the same browser session, with no intermediate screen.
  • Who benefits most: Teams running a staff-only server where every account is provisioned through the directory and nobody needs a local Matrix password.
  • When password login is still needed: Service accounts, bots, and break-glass access if the provider is unavailable. Confirm where those sign-ins happen before you enable this option.
  • Provider dependency: If Synapse or MAS is configured with an identity provider that is down, every user is blocked at the first screen, so plan a fallback path.
  • What to test: Open a private browser window with a non-admin account, confirm the redirect completes without a loop, and check that a deep link to a room returns the user to that room after sign-in.

Confirm that a user removed from the directory cannot complete the redirect and obtain a session.

Which branding choices affect the login page, the app and the team

The brand name, the login header logo, the welcome background and the default theme shape what staff notice first, but they do not all carry the same weight. The brand value and the branding.auth_header_logo_url and branding.welcome_background_url keys are largely cosmetic: they change how the app and login screen look and how the organization is recognized. The default_theme key also mostly affects appearance, although it sets the starting point for every user who has not chosen one. The choice that changes how users find the right server is permalink_prefix, because it decides where shared links point. Setting it to your own deployment keeps permalinks inside your domain instead of sending them to matrix.to, which matters when colleagues paste room or message links into email, tickets or documents. Confirm the exact behavior of each key against the Element Web configuration reference for the version you deploy.

Logo and background files are assets that your users' browsers must load, so they need to be hosted at a URL that the browser can reach from every network where staff sign in, including VPN and remote access paths. If the asset host is unreachable, the login page can appear without the branding, and a broken image can look like a misconfigured server to users. Decide where the files live, who can change them, and how changes are reviewed before they go live. Before publishing, confirm that you hold the rights to every image, including fonts and imagery in the background, and that the licence allows use inside your organization. Check contrast between the logo, the background and the text on the login form, and write meaningful alternative text for the logo so screen reader users understand the page. These checks are the organization's responsibility, and the ones most often skipped when branding is handed to a marketing team alone.

Treat branding as part of the configuration change, not a standalone design task. Ask the team that runs the homeserver to confirm which settings they will own and which the brand or communications team will own, and record the decision in the change process. A rebrand that alters the name or the permalink domain touches what users see in every conversation, so it should be communicated to staff before it is deployed. Ask your implementation partner or internal team to test the login page on each supported browser and on the mobile path your staff use, and to confirm that the SSO redirect behavior described in the next section still works after the branding changes.

Setup: branding Element Web and pointing it at SSO

This sequence takes Element Web from a default build to a branded client on your own domain, with permalinks and SSO login pointing at your homeserver, and confirms each change in a clean browser session.

  1. Confirm the Element Web version and supported keys

    Before editing anything, record the Element Web version you deploy and open the configuration reference for that exact release in the Element Web repository. Confirm that the keys you plan to use (brand, branding.auth_header_logo_url, branding.welcome_background_url, default_theme, permalink_prefix and sso_redirect_options) appear in the documentation for your version. Ask your vendor or build team whether any custom build or theme overrides change the defaults. The step is done when you have a written list of supported keys tied to a version number.

  2. Prepare hosted logo and background assets

    Decide where the login logo and welcome background will be hosted, typically on the same domain that serves Element Web so the browser makes no third-party requests. Prepare the image files in the formats your design team approves, and place them at stable URLs. Load each URL in a private browser window and confirm it returns the image with no authentication prompt and no mixed-content warning. The step is done when both asset URLs resolve over HTTPS from the network your users are on.

  3. Set brand, theme and branding keys

    Edit the Element Web config.json on the server that serves the client. Set brand to the organization's product name, point branding.auth_header_logo_url and branding.welcome_background_url at the hosted assets, and set default_theme to the theme your governance team approved. Validate the file as well-formed JSON before deploying it, because a syntax error can stop the client from loading. The step is done when the config file is deployed and the client reports the new name in the browser tab and on the login page.

  4. Point permalinks at your own deployment

    Set permalink_prefix to the base URL of your Element Web deployment so that shared room and user links resolve to your server instead of the public matrix.to service. Confirm that the value matches the domain users actually visit, including scheme and any path. Create a test room on your homeserver, copy its permalink from the client, and open it in a new browser profile. The step is done when the link opens your deployment and lands in the intended room.

  5. Choose and set the SSO redirect placement

    Decide where unauthenticated users should be sent to your identity provider: immediately, from the welcome page, or from the login page. Set sso_redirect_options to match that choice, and confirm that the homeserver's SSO configuration is already working for the same provider. Coordinate with the identity team so the provider's client registration includes the Element Web callback URL. The step is done when the placement decision is documented and the setting is deployed.

  6. Test with a fresh browser profile

    Open a new browser profile or private window with no cached assets, cookies or local storage from earlier tests. Load the login page and confirm the logo, background, product name and theme appear, and that the welcome or login page behaves as the chosen sso_redirect_options placement predicts. Repeat the test after a hard refresh if the first load used an older cached copy. The step is done when the page shows the new branding on every attempt without manual cache clearing.

  7. Verify the SSO round trip with a non-admin account

    Sign in with a standard user account, not an administrator, and follow the SSO flow from the identity provider's login page back to Element Web. Confirm that the session lands on your homeserver, that the user ID carries your server_name, and that the permalink from the earlier step opens inside the signed-in session. Repeat with a second user if your identity provider uses group-based access. The step is done when the round trip returns to the correct server for every test account and no step sends users to a public or default homeserver.

How a branded login reaches your identity provider

The path starts when a user opens Element Web on your own domain. The browser loads the static client and its config.json, then fetches the branding assets from your hosting. The sso_redirect_options setting decides whether an unauthenticated user goes straight to the identity provider, lands on the welcome page or sees the login page. After sign-in, the identity provider returns the user to the homeserver, which issues the session that Element Web keeps. Check that every asset and redirect stays on hosts you control and that the identity provider trusts the homeserver's callback address.

Branded first contact and return path from the identity provider to the client session.

Security and operational risks in a branded client

A branded Element Web is still a client that users trust with their sign-in and their links. The risks below cluster around the config file: where users are sent to log in, where assets are fetched from, which links point where, and who approves changes. Each card names the control that addresses it.

Login path bypassing SSO

Setting sso_redirect_options controls whether unauthenticated users go straight to the SSO or OIDC provider, or first see the welcome or login page. If the path is wrong, users may land on a password form your identity team does not manage. Test each entry point from a private browser session, and confirm that the provider you expect is the one that answers, with the password fallback behavior you have chosen.

Element Web config

Branding assets from outside your control

The logo and welcome background are fetched from the URLs in branding.auth_header_logo_url and branding.welcome_background_url. If those files live on a host you do not operate, the login page depends on that host's availability and content. Serve the assets from your own domain, restrict who can replace them, and check the images after every deployment.

Links still resolving to matrix.to

Changing permalink_prefix moves new permalinks to your own deployment, but links already shared in chats, tickets and wiki pages keep their original form. Users may still be sent to a public service you did not choose. Search your internal documentation for matrix.to references, decide whether to redirect them, and confirm that new room links point to your domain before announcing the change.

Configuration drift across releases

A self-hosted client keeps its own copy of the config, which can fall out of step with new Element Web releases. Options may be renamed, defaults may change, and a copy made for an older version can quietly stop applying a setting. Record the release you deploy, diff the config against the upstream config documentation at each upgrade, and run the login and permalink checks again before rollout.

Untested SSO failure paths

A branded login flow has more states than the happy path: the provider is down, the user has no account, or the session expires mid-task. Each state may show a different page or fall back to a form that users do not expect. Build a test list covering these cases, run it against staging, and record what a user sees in each one so support can recognize the failure.

Ownership of config change control

The config file decides the login path, the brand name and the links users follow, so changes carry security and operational weight. When no one owns it, a well-meant theme edit can alter sign-in for every user. Name an owner, require review by the identity and security teams for changes to SSO and asset settings, and keep the file in version control with a record of who approved each change.

Limits to confirm before you brand Element Web

Element Web branding depends on which configuration keys your build reads, how your clients are installed, and how your identity setup handles every account type. Confirm each item below in the documentation for your exact Element Web version and in a test environment before you commit to a design.

Supported configuration keys in your version

Branding keys such as brand, branding.auth_header_logo_url and branding.welcome_background_url are documented in the Element Web config reference, but the set of keys can change between releases. Read the config reference for the exact version you deploy, and confirm that each key you plan to use is present and behaves as described. Keep a list of keys with the version where you verified them.

Element Web config docs

Customizable welcome and home pages

Confirm whether your Element Web version lets you replace or customize the welcome and home page content, or whether those pages are fixed in the build. Ask the vendor or check the source for that version rather than assuming a template exists. If customization is limited, plan your messaging in the login page background, the SSO button text or an internal intranet link.

Client parity across apps

Element Web settings do not automatically apply to desktop, mobile or other Matrix apps. Inventory every client your users run, and test the brand name, logo, default theme and permalink prefix in each one. Mobile apps are often built and distributed separately, so their branding and server defaults may need their own build and release process.

Asset hosting and content security policy

Logos and background images must be reachable from the browser over the URLs you set, which means your web server, CDN and content security policy must allow them. Test that images load after a hard refresh, behind your reverse proxy and in your strictest browser policy. A blocked asset can fail silently and look like a branding bug.

Reapplying configuration on upgrade

Each Element Web release can ship a new build, and your custom configuration file and static assets must be carried forward with it. Record where your config and assets live, add a check to your upgrade runbook, and verify the branded login page after every upgrade on a staging copy. Ask who owns this step once the deployment is in production.

SSO placement for every account type

Redirecting unauthenticated users straight to SSO through sso_redirect_options suits staff accounts, but may not suit service accounts, bots, guest users or accounts that sign in with a local password. Map each account type to its sign-in path, and test a guest or bot login on a staging server before you change the default redirect.

Questions buyers ask about Element Web branding and SSO login

What drives the cost of branding Element Web?

The cost depends on how much of the client you change and how many environments you must test. Changing the brand name, login logo, background and default theme is configuration work in config.json. Custom welcome and home pages, permalinks on your own domain and SSO redirect behavior add review and testing. Cost also rises with the number of platforms you ship to (web, desktop, mobile builds), the number of language and domain variants, and the review cycle your communications and security teams require. Ask any quote to list each item in writing, who performs it, what is delivered (config files, deployment changes, test notes), and whether any work recurs after each Element Web upgrade.

How long does Element Web branding usually take?

Duration is set by approvals and testing more than by the configuration edits themselves. The main factors are how quickly brand assets and wording are signed off, whether custom pages need copy and layout review, how many identity providers and user groups must be tested, and how long your change process takes to approve a deployment. Ask the provider to split the schedule into asset collection, build and configuration, SSO testing and rollout, and to state which steps depend on your team's availability. Any specific duration should appear in the written scope, not in a general estimate.

What does the organization need to provide for the branding work?

Plan to supply four things before work starts. First, brand assets: the name, a logo sized for the login header, a background image and the colors or theme you want as default. Second, access to your identity provider's settings so the SSO redirect can be configured and tested, usually an OpenID Connect or SAML application registration. Third, a test group of real users across roles who can check the login and welcome flow on each browser and device you support. Fourth, a named approver for changes, since branding affects every user who signs in. Confirm these items in the written scope so no step waits on something unassigned.

Can our internal team brand Element Web without outside help?

Yes, if your team already runs Element Web or Synapse and can edit and deploy a static configuration file. The configuration keys for brand, branding.auth_header_logo_url, branding.welcome_background_url, default_theme and permalink_prefix are documented in the Element Web configuration file. The harder part is the surrounding work: deciding how custom pages look, testing SSO redirects across identity providers, checking that permalinks resolve on your domain, and keeping the build repeatable through upgrades. Assess your team's experience with front-end deployment and identity configuration. A partner's quote should separate the work your team could do from the parts it would hand over.

What can break in an SSO redirect, and how do we test it?

The most common failures are a redirect that points to the wrong identity provider, a loop between Element Web and the provider, an unauthenticated user landing on a page that does not explain what to do, and a mismatch between the homeserver's configured login methods and the redirect target. Test each path from a clean browser session: a new user, an existing user, a user whose session has expired, and a user who opens a permalink before signing in. Check the setting sso_redirect_options for each mode you choose (immediate redirect, welcome page or login page) and confirm the same flow on every browser and device your users run. Record the results so the test can be repeated after each upgrade.

How does branding survive Element Web upgrades?

Branding survives upgrades when it lives in configuration and deployment files you control, not in edited application code. Keep config.json, logo and background files, and any custom welcome or home page content in version control, and deploy them alongside the Element Web release you run. Each upgrade then needs a short regression pass: confirm the logo and background load, the default theme applies, permalinks still point to your domain, and each SSO redirect mode still works. Ask the provider whether upgrade checks are included in the scope or sold as a recurring support arrangement, and confirm who owns the test records after handover.

How DeployOpen scopes and delivers Element Web branding

DeployOpen approaches Element Web branding as a configured client deployment inside your own infrastructure. We scope the brand name, logo, theme, welcome and home pages, permalink domain and SSO login route in writing, then build and hand over the configuration so your team can review and maintain it.

How we scope

  • Agree in writing which brand name, logo, background and default theme the Element Web build will carry.
  • Confirm the domain that permalinks will use and the homeserver the client should point to.
  • Decide with your identity team whether users go straight to SSO, land on the welcome page or see the login page.

How we build

  • Set brand, auth header logo, welcome background, default theme and permalink prefix in the client configuration file.
  • Configure sso_redirect_options against the identity provider your Synapse or MAS deployment already uses.
  • Test sign-in, logout and permalink behavior across the browsers and platforms your users actually run.

How we hand over

  • Deliver the configuration files, asset inventory and build steps as documentation your team can version.
  • Walk your platform and identity engineers through how each setting maps to what users see.
  • Document how to change a logo, theme or redirect option without rebuilding the whole deployment.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, upgrades and retesting after new Element Web releases are available as a retainer.
  • Ask for a written quote based on your scope; DeployOpen does not publish a price list.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.