Skip to content

fix(supabase): keep a developer-set Authorization header on the Realtime handshake - #1055

Merged
Tr00d merged 2 commits into
masterfrom
fix/realtime-keep-developer-authorization
Dec 3, 2026
Merged

Tr00d merged 2 commits into
masterfrom
fix/realtime-keep-developer-authorization

Conversation

@Tr00d

@Tr00d Tr00d commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

Bug fix.

What is the current behavior?

Supabase.Client strips the Authorization header from the Realtime handshake headers (#622), so the SDK doesn't send the derived bearer there. It also strips an Authorization header the developer set explicitly in SupabaseOptions.Headers, so that header never reaches the Realtime handshake.

What is the new behavior?

Only the derived bearer is dropped. When SupabaseOptions.Headers contains Authorization, it is sent on the Realtime handshake as the developer set it.

Additional context

🤖 Generated with Claude Code

CW-KieranVelez and others added 2 commits December 3, 2026 10:45
…ime handshake

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ng it

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Tr00d
Tr00d marked this pull request as ready for review December 3, 2026 10:16
@Tr00d
Tr00d merged commit b32c826 into master Dec 3, 2026
10 of 11 checks passed
@Tr00d
Tr00d deleted the fix/realtime-keep-developer-authorization branch December 3, 2026 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants