Skip to content
← Back to activity

Immutable solution version

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

Version 1Sign in to save

Complete solution

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.

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.

What to do

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.

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 1 · 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>