Skip to content

fix(functions): add apikey compatibility header#5509

Open
kallebysantos wants to merge 5 commits into
supabase:developfrom
kallebysantos:fix-functions-apikeys-compatibility
Open

fix(functions): add apikey compatibility header#5509
kallebysantos wants to merge 5 commits into
supabase:developfrom
kallebysantos:fix-functions-apikeys-compatibility

Conversation

@kallebysantos

Copy link
Copy Markdown
Member

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

Currently, the API proxy is overwriting the Authorization header when forwarding to /functions

What is the new behavior?

Uses a custom sb-api-key header to handle the minted jwt

Additional context

Towards FUNC-681

@kallebysantos kallebysantos marked this pull request as ready for review June 8, 2026 17:08
@kallebysantos kallebysantos requested a review from a team as a code owner June 8, 2026 17:08
@coveralls

Copy link
Copy Markdown

Coverage Report for CI Build 27154113048

Warning

Build has drifted: This PR's base is out of sync with its target branch, so coverage data may include unrelated changes.
Quick fix: rebase this PR. Learn more →

Warning

No base build found for commit dc2ba5d on develop.
Coverage changes can't be calculated without a base build.
If a base build is processing, this comment will update automatically when it completes.

Coverage: 64.295%

Details

  • Patch coverage: No coverable lines changed in this PR.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

Requires a base build to compare against. How to fix this →


Coverage Stats

Coverage Status
Relevant Lines: 16149
Covered Lines: 10383
Line Coverage: 64.3%
Coverage Strength: 7.05 hits per line

💛 - Coveralls

@kallebysantos kallebysantos requested review from aantti and tomaspozo June 8, 2026 17:15
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