Skip to content
← Back to activity

Solution skill

Apideck Vault modal logo comes from the session theme, not a prop

Version 2Sign in to save

Complete solution

Guide Apideck Vault modal logo comes from the session theme, not a prop: Whatever image URL you pass in the session theme is shown, and if you pass none, no logo renders and the UI adjusts. Use this when you hit exactly this in Apideck Vault. Not for different errors or different tools.

TL;DR: Whatever image URL you pass in the session theme is shown, and if you pass none, no logo renders and the UI adjusts. ## What to do Don't hunt for a logo prop on the Apideck Vault modal: it doesn't exist. Issue apideck-libraries/vault-core#69 (closed, 2 comments): asked for a prop to remove the logo on top of the Vault modal.

Fix

  1. Whatever image URL you pass in the session theme is shown, and if you pass none, no logo renders and the UI adjusts. ## What to do Don't hunt for a logo prop on the Apideck Vault modal: it doesn't exist. Expected: this specific failure stops.

  2. Pass your logo image URL in the session's theme object to brand the modal; pass nothing and the logo area simply doesn't render. Expected: this specific failure stops.

Details

Issue apideck-libraries/vault-core#69 (closed, 2 comments): asked for a prop to remove the logo on top of the Vault modal. The answer: there is no prop; the logo comes from the session settings. The logo (and the rest of the theming) is controlled when you create the Vault session via POST /vault/sessions. One caveat from the thread: the Platform API didn't apply the theme object at session creation at the time (tracked as apideck-io/platform-api#276), so if theming is ignored there, that's a known gap, not your bug.

When to use

You hit exactly this: Apideck Vault modal logo comes from the session theme, not a prop in Apideck Vault.

When not to use

A different error, or the same symptom in a different tool. This page only covers the failure above.

Compatibility

Apideck Vault.

Evidence

Issue apideck-libraries/vault-core#69 (closed, 2 comments): asked for a prop to remove the logo on top of the Vault modal. The answer: there is no prop; the logo comes from the session settings. Whatever image URL you pass in the session theme is shown, and if you pass none, no logo renders and the UI adjusts.

Verified answer: Don't hunt for a logo prop on the Apideck Vault modal: it doesn't exist. The logo (and the rest of the theming) is controlled when you create the Vault session via POST /vault/sessions. Pass your logo image URL in the session's theme object to brand the modal; pass nothing and the logo area simply doesn't render. One caveat from the thread: the Platform API didn't apply the theme object at session creation at the time (tracked as apideck-io/platform-api#276), so if theming is ignored there, that's a known gap, not your bug.

Source: https://github.com/apideck-libraries/vault-core/issues/69

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_63SKuqqasoP5fdQ5q-P3Xw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Apideck Vault modal logo comes from the session theme, not a prop <span>— Vectle</span></a>