Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed
- Updated MCP OAuth consent screen to use Sourcebot branded logo with dark/light mode support. [#1062](https://github.com/sourcebot-dev/sourcebot/pull/1062)

## [4.16.3] - 2026-03-27

### Added
Expand Down
14 changes: 11 additions & 3 deletions packages/web/src/app/oauth/authorize/components/consentScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import { LoadingButton } from '@/components/ui/loading-button';
import { isServiceError } from '@/lib/utils';
import { ClientIcon } from './clientIcon';
import Image from 'next/image';
import logo from '@/public/logo_512.png';
import logoDark from '@/public/sb_logo_dark_small.png';
import logoLight from '@/public/sb_logo_light_small.png';
import { useEffect, useState } from 'react';
import useCaptureEvent from '@/hooks/useCaptureEvent';
import { useToast } from '@/components/hooks/use-toast';
Expand Down Expand Up @@ -77,11 +78,18 @@ export function ConsentScreen({
<path strokeLinecap="round" strokeLinejoin="round" d="M8 7h8m0 0-3-3m3 3-3 3M16 17H8m0 0 3 3m-3-3 3-3" />
</svg>
<Image
src={logo}
src={logoDark}
alt="Sourcebot"
width={70}
height={70}
className="shrink-0 rounded-xl object-cover"
className="shrink-0 rounded-xl object-cover hidden dark:block"
/>
<Image
src={logoLight}
alt="Sourcebot"
width={70}
height={70}
className="shrink-0 rounded-xl object-cover block dark:hidden"
/>
</div>

Expand Down
Loading